Enable ‘next’ redirection after registration.

This commit is contained in:
Mathijs de Bruin
2014-07-03 15:21:03 +02:00
parent 7b474efd7a
commit 577a3a8110
3 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -234,8 +234,8 @@ def get_post_login_redirect(declared=None):
return get_post_action_redirect('SECURITY_POST_LOGIN_VIEW', declared)
def get_post_register_redirect():
return get_post_action_redirect('SECURITY_POST_REGISTER_VIEW')
def get_post_register_redirect(declared=None):
return get_post_action_redirect('SECURITY_POST_REGISTER_VIEW', declared)
def find_redirect(key):