Merge branch 'password_setup' of https://github.com/guardicore/monkey into password_setup

This commit is contained in:
Shay Nehmad 2020-06-25 10:56:06 +03:00
commit 4c6f2efe18
1 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,9 @@ const reportZeroTrustRoute = '/report/zeroTrust';
class AppComponent extends AuthComponent {
updateStatus = () => {
if (this.state.isLoggedIn === false){
return
}
this.auth.loggedIn()
.then(res => {
if (this.state.isLoggedIn !== res) {
@ -110,7 +113,8 @@ class AppComponent extends AuthComponent {
report_done: false,
isLoggedIn: undefined,
needsRegistration: undefined
}
},
noAuthLoginAttempted: undefined
};
}