From fd8b29c55fb1a41cf6fb0dce0ca4931d01ec5a8b Mon Sep 17 00:00:00 2001 From: b3yond Date: Sun, 9 Sep 2018 15:45:25 +0200 Subject: [PATCH] appropriate success message --- frontend.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend.py b/frontend.py index b57288e..e6c3b91 100755 --- a/frontend.py +++ b/frontend.py @@ -246,9 +246,7 @@ def login_mastodon(user): try: access_token = m.log_in(masto_email, masto_pass) user.save_masto_token(access_token, instance_url) - return dict( - info='Thanks for supporting decentralized social networks!' - ) + city_page(user.get_city(), info='Thanks for supporting decentralized social networks!') except Exception: logger.error('Login to Mastodon failed.', exc_info=True) return dict(error='Login to Mastodon failed.')