diff --git a/django-stubs/contrib/auth/hashers.pyi b/django-stubs/contrib/auth/hashers.pyi index 7ea9aa9b0..76769b79a 100644 --- a/django-stubs/contrib/auth/hashers.pyi +++ b/django-stubs/contrib/auth/hashers.pyi @@ -29,9 +29,9 @@ class BasePasswordHasher: salt_entropy: int def salt(self) -> str: ... def verify(self, password: str, encoded: str) -> bool: ... - def encode(self, password: str, salt: str) -> Any: ... + def encode(self, password: str, salt: str) -> str: ... def decode(self, encoded: str) -> dict[str, Any]: ... - def safe_summary(self, encoded: str) -> Any: ... + def safe_summary(self, encoded: str) -> dict[str, Any]: ... def must_update(self, encoded: str) -> bool: ... def harden_runtime(self, password: str, encoded: str) -> None: ...