Issue #5394: Wrong url for forgot_password in basic_auth plugin
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 21 Jan 2016 20:37:50 +0000 (12:37 -0800)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 21 Jan 2016 20:37:50 +0000 (12:37 -0800)
Fix by jerome.  Thank you!

mediagoblin/plugins/basic_auth/views.py

index 95f91b4c3c81743c54053535dd8a91b8cd16fbb0..86d7eaef88104351ce6a01fdbd2d564dcba71254 100644 (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.")