diff --git a/django-stubs/contrib/auth/__init__.pyi b/django-stubs/contrib/auth/__init__.pyi index c1836d0a0..593d3c4dc 100644 --- a/django-stubs/contrib/auth/__init__.pyi +++ b/django-stubs/contrib/auth/__init__.pyi @@ -36,7 +36,7 @@ async def alogin( backend: type[ModelBackend] | str | None = ..., ) -> None: ... def get_user_model() -> type[AbstractUser]: ... -def get_user(request: HttpRequest | Client) -> AbstractBaseUser | AnonymousUser: ... +def get_user(request: HttpRequest | Client) -> AbstractUser | AnonymousUser: ... def get_permission_codename(action: str, opts: Options[Any]) -> str: ... def update_session_auth_hash(request: HttpRequest, user: AbstractBaseUser) -> None: ...