Skip to content
Browse files

Fixed a typo

  • Loading branch information...
1 parent 936da82 commit 720e2d2d138d813723086f62ac3fd947835cec0f @mitsuhiko committed Nov 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 pastebin.py
View
2 pastebin.py
@@ -108,7 +108,7 @@ def logout():
@app.route('/login/authorized')
@facebook.authorized_handler
def facebook_authorized(resp):
- next_url = request.args.get('next') or url_for('index')
+ next_url = request.args.get('next') or url_for('new_paste')
if resp is None:
flash('You denied the login')
return redirect(next_url)

0 comments on commit 720e2d2

Please sign in to comment.
Something went wrong with that request. Please try again.