mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
fixed username undefined issue
This commit is contained in:
parent
ff3b827527
commit
a68bfe0c35
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@
|
|||
self.session.access({
|
||||
"keys": ""
|
||||
}).done(function(result){
|
||||
if(!("username" in result.data)) {
|
||||
console.log("Session: Not authenticated!");
|
||||
if(!("username" in (result.data||{}))) {
|
||||
console.log("Session: Not authenticated!");
|
||||
RPC_SESSION_ID = RPC_DEFAULT_SESSION_ID; // reset sid to 000..
|
||||
deferred.reject();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue