Fix gravatar URL and one possible redirect loop

This commit is contained in:
Lars Immisch 2015-09-22 13:33:26 +02:00
parent 087ee0be15
commit a8e4ec69bf
2 changed files with 2 additions and 2 deletions

View file

@ -69,4 +69,4 @@ def settings():
@blueprint.route("/logout")
def logout():
User.logout()
return redirect("/")
return redirect(url_for(current_app.config['ROOT_ENDPOINT']))