flip the authentication state
This commit is contained in:
1 parent
31708cdb15
commit
e555fddfb4
1 file changed
+1
-1
@@ -31,7 +31,7 @@ export class Authentication{
|
||||
}
|
||||
|
||||
get isLoggedIn(): boolean {
|
||||
return this._user.value.id == null ? true : false;
|
||||
return this._user.value.id != null ? true : false;
|
||||
}
|
||||
|
||||
get loggedInUser(): Account {
|
||||
|
||||
Reference in new issue
Block a user