Skip to content

Commit

Permalink
fix(account): apply login_not_required decorator to PasswordResetDone…
Browse files Browse the repository at this point in the history
…View
  • Loading branch information
yk committed Nov 1, 2024
1 parent 4d7decc commit ca4dcef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions allauth/account/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ def get_context_data(self, **kwargs):
password_reset = PasswordResetView.as_view()


@method_decorator(login_not_required, name="dispatch")
class PasswordResetDoneView(TemplateView):
template_name = "account/password_reset_done." + app_settings.TEMPLATE_EXTENSION

Expand Down

0 comments on commit ca4dcef

Please sign in to comment.