Demo: fix
This commit is contained in:
parent
90c5362a57
commit
0a3a45107a
@ -151,7 +151,7 @@ const authorization = {
|
||||
entry.type = found.type;
|
||||
if (! entry.orclgender || entry.orclgender === "")
|
||||
entry.orclgender = found.orclgender;
|
||||
return fillSession (req, entry, entry.roles.length > 0 ? common.arrayToHash(entry.roles) : {user:true}, returnSession);
|
||||
return fillSession (req, entry, entry.roles.length > 0 ? entry.roles : {user:true}, returnSession);
|
||||
}
|
||||
|
||||
// Otherwise create standard user entry
|
||||
|
Loading…
x
Reference in New Issue
Block a user