summaryrefslogtreecommitdiff
path: root/patchwork/urls.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2016-03-30 15:04:24 +0100
committerStephen Finucane <stephen.finucane@intel.com>2016-04-01 13:20:01 +0100
commit7f42c606e03cf5108bef122972239f1080f9257f (patch)
tree0cb550072756075ddae0282a43d880dc7545cce0 /patchwork/urls.py
parentb3d1917731f58889328e0cb02cf241e67bd9dcf9 (diff)
downloadpatchwork-7f42c606e03cf5108bef122972239f1080f9257f.tar
patchwork-7f42c606e03cf5108bef122972239f1080f9257f.tar.gz
ui: Redirect to '/' after logout
It's already obvious that the user has logged out, so don't bother displaying a message saying as much. Redirect to the home page instead. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r--patchwork/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py
index 87369ce..f3fdc5b 100644
--- a/patchwork/urls.py
+++ b/patchwork/urls.py
@@ -92,7 +92,7 @@ urlpatterns = [
{'template_name': 'patchwork/login.html'},
name='auth_login'),
url(r'^user/logout/$', auth_views.logout,
- {'template_name': 'patchwork/logout.html'},
+ {'next_page': '/'},
name='auth_logout'),
# registration