Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

fixed redirect url to accounts.login #11

1 commit merged into from Sep 17, 2011
Jump to file or symbol
Failed to load files and symbols.
+1 −1
@@ -5,7 +5,7 @@ def login_required(f):
def decorated_function(*args, **kwargs):
if 'logged_in' not in session or session['logged_in'] is None:
- return redirect(url_for('.login'))
+ return redirect(url_for('accounts.login'))
return f(*args, **kwargs)
return decorated_function