mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-09 13:50:42 +02:00
changed the way sso user id's are generated
This commit is contained in:
parent
7b8759a829
commit
b98a3b422c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user