mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
Fix Superuser Penetration Bug
This commit is contained in:
parent
0f80ea85e6
commit
fd3cec5d73
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ module.exports = function(s,config,lang){
|
||||||
success()
|
success()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(params.auth && s.superUsersApi[params.auth]){
|
if(params.auth && JSON.stringify(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