Skip to content
Snippets Groups Projects
Commit fd3cec5d authored by Moe's avatar Moe :sunglasses:
Browse files

Fix Superuser Penetration Bug

parent 0f80ea85
No related branches found
No related tags found
No related merge requests found
...@@ -234,7 +234,7 @@ module.exports = function(s,config,lang){ ...@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment