Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CipMap
CipMap
Commits
014b3222
Commit
014b3222
authored
Nov 02, 2021
by
Tom Kunze
Browse files
tutor: Fix logout button not doing a logout.
parent
7436d869
Changes
2
Hide whitespace changes
Inline
Side-by-side
django/server/templates/server/tutor/base.html
View file @
014b3222
...
...
@@ -68,7 +68,7 @@
<span
class=
"caret"
></span>
</a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"{% url '
index
' %}"
id=
"logout"
>
Logout
</a></li>
<li><a
href=
"{% url '
tutor_logout
' %}"
id=
"logout"
>
Logout
</a></li>
</ul>
</li>
</ul>
...
...
django/server/urls.py
View file @
014b3222
...
...
@@ -55,7 +55,7 @@ urlpatterns = [
url
(
r
'^tutor/logout/?$'
,
auth_views
.
LogoutView
.
as_view
(
next_page
=
'
tutor_login
'
,
next_page
=
'
index
'
,
),
name
=
'tutor_logout'
,
),
...
...
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