changed the way sso user id's are generated

This commit is contained in:
David Leimroth 2022-02-10 19:06:04 +01:00
parent 7b8759a829
commit b98a3b422c

View File

@ -221,7 +221,7 @@ class Auth {
if (!user && this.db.SSOSettings.user.createNewUser) {
// create a user
let account = {}
account.id = profile.username
account.id = getId('usr')
account.ssoId = profile.id
account.username = profile.username
account.isActive = true