Issue #5394: Wrong url for forgot_password in basic_auth plugin

Fix by jerome.  Thank you!
This commit is contained in:
Christopher Allan Webber 2016-01-21 12:37:50 -08:00
parent ea309bff97
commit 64c035b39f

View File

@ -63,7 +63,8 @@ def forgot_password(request):
messages.add_message(request,
messages.WARNING,
_("Couldn't find someone with that username."))
return redirect(request, 'mediagoblin.auth.forgot_password')
return redirect(request,
'mediagoblin.plugins.basic_auth.forgot_password')
success_message = _("An email has been sent with instructions "
"on how to change your password.")