Add user source property to schema

This commit is contained in:
Johannes Zellner
2019-08-29 17:52:00 +02:00
parent b9efa8f445
commit 4b86311ab9
3 changed files with 19 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ var assert = require('assert'),
mysql = require('mysql');
var USERS_FIELDS = [ 'id', 'username', 'email', 'fallbackEmail', 'password', 'salt', 'createdAt', 'modifiedAt', 'resetToken', 'displayName',
'twoFactorAuthenticationEnabled', 'twoFactorAuthenticationSecret', 'admin', 'active' ].join(',');
'twoFactorAuthenticationEnabled', 'twoFactorAuthenticationSecret', 'admin', 'active', 'source' ].join(',');
function postProcess(result) {
assert.strictEqual(typeof result, 'object');