From f7f29ad1fb3c80d91750a268834403b0550fe04e Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Fri, 27 Sep 2019 14:25:27 +0100 Subject: [PATCH] Redirect to browse index after oauth. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 3edfb3c..740bf36 100755 --- a/app.py +++ b/app.py @@ -218,7 +218,7 @@ def oauth_callback(): session['owner_key'] = oauth_tokens.get('oauth_token') session['owner_secret'] = oauth_tokens.get('oauth_token_secret') - return redirect(url_for('show_user')) + return redirect(url_for('browse_index')) def get_username(): if 'owner_key' not in session: