Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fixed redirect url to accounts.login #11

Merged
1 commit merged into from

0 participants

@ghost

herp derp derp

@ghost ghost merged commit e090f37 into tsoporan:develop
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 17, 2011
  1. fixed redirect url to accounts.login

    Kalon Hinds authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  cyclonejet/views/utils.py
View
2  cyclonejet/views/utils.py
@@ -5,7 +5,7 @@ def login_required(f):
@wraps(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
Something went wrong with that request. Please try again.