Skip to content

Commit

Permalink
fix(account/adapter): fix a typo in clean_password
Browse files Browse the repository at this point in the history
  • Loading branch information
ClanEver authored Jan 17, 2024
1 parent 349f6de commit 1655cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allauth/account/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def clean_password(self, password, user=None):
min_length = app_settings.PASSWORD_MIN_LENGTH
if min_length and len(password) < min_length:
raise forms.ValidationError(
self.error_message["password_min_length"].format(min_length)
self.error_messages["password_min_length"].format(min_length)
)
validate_password(password, user)
return password
Expand Down

0 comments on commit 1655cac

Please sign in to comment.