force id to string before filtering

This commit is contained in:
Andris Reinman 2019-03-20 23:51:35 +02:00
parent 5ebda12bde
commit dd4442bc65

View file

@ -180,7 +180,7 @@ module.exports = (db, server, userHandler) => {
let authResponse = {
success: true,
id: authData.user,
id: authData.user.toString(),
username: authData.username,
scope: authData.scope,
require2fa: authData.require2fa,