|
|
|
|
|
|
|
|
entry.type = found.type; |
|
|
entry.type = found.type; |
|
|
if (! entry.orclgender || entry.orclgender === "") |
|
|
if (! entry.orclgender || entry.orclgender === "") |
|
|
entry.orclgender = found.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 |
|
|
// Otherwise create standard user entry |