mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Update auth.js
This commit is contained in:
parent
fd3cec5d73
commit
2c8ca56621
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ module.exports = function(s,config,lang){
|
||||||
success()
|
success()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(params.auth && JSON.stringify(s.superUsersApi).indexOf(params.auth) > -1){
|
if(params.auth && Object.keys(s.superUsersApi).indexOf(params.auth) > -1){
|
||||||
userFound = true
|
userFound = true
|
||||||
userSelected = s.superUsersApi[params.auth].$user
|
userSelected = s.superUsersApi[params.auth].$user
|
||||||
foundUser()
|
foundUser()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue