diff --git a/django-stubs/contrib/auth/base_user.pyi b/django-stubs/contrib/auth/base_user.pyi index 1cbcac1..b74fd9e 100644 --- a/django-stubs/contrib/auth/base_user.pyi +++ b/django-stubs/contrib/auth/base_user.pyi @@ -29,7 +29,7 @@ class AbstractBaseUser(models.Model): def is_anonymous(self) -> Literal[False]: ... @property def is_authenticated(self) -> Literal[True]: ... - def set_password(self, raw_password: Optional[str]) -> None: ... + def set_password(self, raw_password: str) -> None: ... def check_password(self, raw_password: str) -> bool: ... def set_unusable_password(self) -> None: ... def has_usable_password(self) -> bool: ...