Commit e99741ffeffe75c9203ff97bfbe09533b49b7046

Authored by Alexandre Barbosa
Committed by Sergio Oliveira
1 parent 09d3cb98

Redirect to home on logout

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
colab/accounts/urls.py
... ... @@ -16,7 +16,8 @@ if not BROWSERID_ENABLED:
16 16 urlpatterns = patterns('',
17 17 url(r'^login/?$', 'django.contrib.auth.views.login', name='login'),
18 18  
19   - url(r'^logout/?$', 'django.contrib.auth.views.logout', name='logout'),
  19 + url(r'^logout/?$', 'django.contrib.auth.views.logout',
  20 + {'next_page':'home'}, name='logout'),
20 21  
21 22 url(r'^password-reset-done/?$', 'colab.accounts.views.password_reset_done_custom',
22 23 name="password_reset_done"),
... ...