Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hellenkamp
website
Commits
0d463ded
Commit
0d463ded
authored
Apr 29, 2017
by
Julian Rother
Browse files
Fixed double-logout error, closes #277
parent
6f787558
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
0d463ded
...
...
@@ -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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment