Skip to content

Commit

Permalink
fix token auth dialog still being shown on some actions even if alrea…
Browse files Browse the repository at this point in the history
…dy signed in
  • Loading branch information
mwa committed Sep 28, 2022
1 parent 2b7c504 commit b3333d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgiscloud/qgiscloudplugindialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _version_info(self):

def check_login(self):
version_ok = True
if not self.api.check_auth():
if not (self.api.check_auth() or self.api.check_token()):
self.api.set_url(self.api_url())
api_info = self.api.api_info()
auth_method = api_info.get('auth_method', 'login')
Expand Down

0 comments on commit b3333d7

Please sign in to comment.