diff options
author | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-13 19:35:00 +0300 |
---|---|---|
committer | Marius David Wieschollek <passwords.public@mdns.eu> | 2021-01-13 19:35:00 +0300 |
commit | bf350b80f51f524fb6aa3ff60145373772db1d07 (patch) | |
tree | 00d1ffbe2462a6a3a569cd008e578628b303c88a | |
parent | c043c5ff535140968c9651a2efed71b613f1f7c7 (diff) |
Fix incorrect needs auth check
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r-- | src/js/Helper/SessionAuthorizationHelper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/Helper/SessionAuthorizationHelper.js b/src/js/Helper/SessionAuthorizationHelper.js index 1815ddc..c226a91 100644 --- a/src/js/Helper/SessionAuthorizationHelper.js +++ b/src/js/Helper/SessionAuthorizationHelper.js @@ -22,7 +22,7 @@ export default class SessionAuthorizationHelper { * @return {Boolean} */ needsAuthorization() { - return this._api.isAuthorized(); + return !this._api.isAuthorized(); } /** |