summaryrefslogtreecommitdiffstats
path: root/ogcp
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp')
-rw-r--r--ogcp/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 627f772..48ff798 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -134,7 +134,7 @@ def login():
flash(_('Incorrect password'))
return render_template('auth/login.html', form=form)
login_user(user)
- return redirect(url_for('scopes'))
+ return redirect(url_for('index'))
return render_template('auth/login.html', form=LoginForm())
@app.route("/logout")