Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0: Update django.contrib.auth.backends #2111

Merged
merged 2 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion django-stubs/contrib/auth/backends.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ _U = TypeVar("_U", bound=AbstractBaseUser)
class RemoteUserBackend(ModelBackend):
create_unknown_user: bool
def clean_username(self, username: str) -> str: ...
def configure_user(self, request: HttpRequest, user: _U) -> _U: ...
def configure_user(self, request: HttpRequest, user: _U, created: bool = ...) -> _U: ...

class AllowAllUsersRemoteUserBackend(RemoteUserBackend): ...
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ django.contrib.auth.admin.UserAdmin.fieldsets
django.contrib.auth.admin.UserAdmin.form
django.contrib.auth.admin.UserAdmin.get_form
django.contrib.auth.backends.RemoteUserBackend.authenticate
django.contrib.auth.backends.RemoteUserBackend.configure_user
django.contrib.auth.base_user.AbstractBaseUser.get_session_auth_fallback_hash
django.contrib.auth.base_user.AbstractBaseUser.last_login
django.contrib.auth.base_user.AbstractBaseUser.password
Expand Down
Loading