mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-27 03:31:46 +00:00
changed the way sso user id's are generated
This commit is contained in:
parent
7b8759a829
commit
b98a3b422c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue