diff --git a/ckan/views/user.py b/ckan/views/user.py index 71ed92d6228..c42133180db 100644 --- a/ckan/views/user.py +++ b/ckan/views/user.py @@ -559,7 +559,7 @@ def post(self): h.flash_error(_(u'Error sending the email. Try again later ' 'or contact an administrator for help')) log.exception(e) - return + return h.redirect_to(u'/') # always tell the user it succeeded, because otherwise we reveal # which accounts exist or not