Switch to url_for :)
This commit is contained in:
parent
1c5db9ab80
commit
9e5de5538f
10 changed files with 11 additions and 11 deletions
|
|
@ -32,7 +32,7 @@ def logout():
|
|||
def login():
|
||||
if g.user is not None:
|
||||
return redirect(url_for('general.index'))
|
||||
if reassign and 'cancel' in request.form:
|
||||
if 'cancel' in request.form:
|
||||
flash(u'Cancelled. The OpenID was not changed.')
|
||||
return redirect(oid.get_next_url())
|
||||
openid = request.values.get('openid')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue