Ticket #5394: fix-basic_auth-views.patch

File fix-basic_auth-views.patch, 772 bytes (added by jerome, 8 years ago)
  • mediagoblin/plugins/basic_auth/views.py

    diff --git a/mediagoblin/plugins/basic_auth/views.py b/mediagoblin/plugins/basic_auth/views.py
    index 02d370f..bcb512d 100644
    a b def forgot_password(request):  
    6363            messages.add_message(request,
    6464                                 messages.WARNING,
    6565                                 _("Couldn't find someone with that username."))
    66             return redirect(request, 'mediagoblin.auth.forgot_password')
     66            return redirect(request,
     67                            'mediagoblin.plugins.basic_auth.forgot_password')
    6768
    6869        success_message = _("An email has been sent with instructions "
    6970                            "on how to change your password.")