Commit 0d463ded authored by Julian Rother's avatar Julian Rother
Browse files

Fixed double-logout error, closes #277

parent 6f787558
......@@ -509,7 +509,7 @@ def login():
@app.route('/internal/logout', methods=['GET', 'POST'])
def logout():
session.pop('user')
session.pop('user', None)
return redirect(request.values.get('ref', url_for('index')))
@app.route('/internal/auth')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment