Skip to content

Commit aee0513

Browse files
committed
Add module
1 parent 2a5854b commit aee0513

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

wagtailenforcer/views/wagtailadmin/__init__.py

Whitespace-only changes.

wagtailenforcer/views/wagtailadmin/account.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ def password_management_enabled():
3131
return getattr(settings, "WAGTAIL_PASSWORD_MANAGEMENT_ENABLED", True)
3232

3333

34-
def password_reset_enabled():
35-
return getattr(
36-
settings, "WAGTAIL_PASSWORD_RESET_ENABLED", password_management_enabled()
37-
)
38-
3934
def change_password(request):
4035
if not password_management_enabled():
4136
raise Http404

0 commit comments

Comments
 (0)