MCPcopy
hub / github.com/django/django / get_invalid_login_error

Method get_invalid_login_error

django/contrib/auth/forms.py:379–384  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

377 return self.user_cache
378
379 def get_invalid_login_error(self):
380 return ValidationError(
381 self.error_messages["invalid_login"],
382 code="invalid_login",
383 params={"username": self.username_field.verbose_name},
384 )
385
386
387class PasswordResetForm(forms.Form):

Callers 2

cleanMethod · 0.95

Calls 1

ValidationErrorClass · 0.90

Tested by 1