aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2016-01-21 12:37:50 -0800
committerChristopher Allan Webber <cwebber@dustycloud.org>2016-01-21 12:37:50 -0800
commit64c035b39fe76bf07d8b12152d1f14574c9e4677 (patch)
tree9c25233ca7f380d1c5eae6aa21ee3d6b04a01f3d
parentea309bff97bb3f291d15c769775fd1b0b6cd25d3 (diff)
downloadmediagoblin-64c035b39fe76bf07d8b12152d1f14574c9e4677.tar.lz
mediagoblin-64c035b39fe76bf07d8b12152d1f14574c9e4677.tar.xz
mediagoblin-64c035b39fe76bf07d8b12152d1f14574c9e4677.zip
Issue #5394: Wrong url for forgot_password in basic_auth plugin
Fix by jerome. Thank you!
-rw-r--r--mediagoblin/plugins/basic_auth/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/plugins/basic_auth/views.py b/mediagoblin/plugins/basic_auth/views.py
index 95f91b4c..86d7eaef 100644
--- a/mediagoblin/plugins/basic_auth/views.py
+++ b/mediagoblin/plugins/basic_auth/views.py
@@ -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.")