Commit 17b812b4 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

urls: Fix logging out

Wrong view, wrong way of passing view arguments.
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent c018580d
......@@ -167,8 +167,7 @@ urlpatterns = [
template_name='patchwork/login.html'
),
name='auth_login'),
path('user/logout/', auth_views.LoginView.as_view(),
{'next_page': '/'},
path('user/logout/', auth_views.LogoutView.as_view(next_page='/'),
name='auth_logout'),
# registration
......
Markdown is supported
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