summaryrefslogtreecommitdiff
path: root/django/contrib/auth/views.py
AgeCommit message (Expand)Author
2025-11-12Fixed #36717 -- Redirect authenticated users on admin login view to next URL.Benedict Etzel
2025-07-22Standardized how method_decorator is used in contrib.auth views and admin.Claude Paroz
2025-01-13Fixed #36087 -- Supported password reset on a custom user model with a compos...Sarah Boyce
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
2023-01-17Refs #15619 -- Removed support for logging out via GET requests.Mariusz Felisiak
2022-04-20Refactored out RedirectURLMixin.get_success_url().Aymeric Augustin
2022-04-20Simplified LogoutView.get_success_url().Aymeric Augustin
2022-04-20Unified LoginView/LogoutView.get_default_redirect_url() methods.Aymeric Augustin
2022-04-20Renamed LogoutView.get_next_page() to get_success_url().Aymeric Augustin
2022-04-20Refactored out RedirectURLMixin.get_redirect_url().Aymeric Augustin
2022-04-19Removed unnecessary default argument from GET.get() call in LoginView.get_red...Aymeric Augustin
2022-04-18Fixed #33648 -- Prevented extra redirect in LogoutView on invalid next page w...Aymeric Augustin
2022-03-29Fixed #15619 -- Deprecated log out via GET requests.René Fleschenberg
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-13Refs #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Mariusz Felisiak
2021-06-25Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert...Mateo Radman
2021-02-08Fixed #28216 -- Added next_page/get_default_redirect_url() to LoginView.ThinkChaos
2019-09-02Fixed #30747 -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().Carlton Gibson
2019-05-24Fixed #28780 -- Allowed specyfing a token parameter displayed in password res...Rob
2018-03-15Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL contains a ...Mattia Procopio
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-09-22Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_t...Tim Graham
2017-09-22Refs #17209 -- Removed login/logout and password reset/change function-based ...Tim Graham
2017-09-03Fixed #28550 -- Restored contrib.auth's login() and logout() views' respect o...ZachLiuGIS
2017-08-24Fixed #28513 -- Added POST request support to LogoutView.hui shang
2017-06-13Fixed #28229 -- Fixed the value of LoginView's "next" template variable.Mikhail Golubev
2017-03-07Fixed #27891 -- Added PasswordResetConfirmView.post_reset_login_backend.Camilo Nova
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-15Fixed #27840 -- Fixed KeyError in PasswordResetConfirmView.form_valid().Markus Holtermann
2017-02-07Refs #27815 -- Reordered LoginView.get_form_kwargs().Tim Graham
2017-02-07Fixed #27815 -- Made LoginView pass the request kwarg to AuthenticationForm.Zoltan Gyarmati
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Removed misc Python 2/3 references.Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-17Refs #24126 -- Removed auth views' current_app parameter per deprecation time...Tim Graham
2017-01-13Fixed #27518 -- Prevented possibie password reset token leak via HTTP Referer...Romain Garrigues
2016-11-25Fixed #25966 -- Made get_user_model() work at import time.Aymeric Augustin
2016-11-21Refs #17209 -- Fixed token verification for PasswordResetConfirmView POST req...Florian Apolloner
2016-09-07Fixed #26956 -- Added success_url_allowed_hosts to LoginView and LogoutView.Jon Dufresne
2016-09-07Refs #26956 -- Allowed is_safe_url() to validate against multiple hostsJon Dufresne
2016-08-19Refs #26902 -- Protected against insecure redirects in Login/LogoutView.Przemysław Suliga
2016-08-10Fixed #26960 -- Added PasswordResetConfirmView option to automatically log in...jordij
2016-07-28Fixed #26929 -- Deprecated extra_context parameter of contrib.auth.views.logo...Andrew Nester
2016-07-22Fixed #26882 -- Added tests for auth.views.logout_then_login().Andrew Nester
2016-07-16Fixed #17209 -- Added password reset/change class-based viewsClaude Paroz