Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pole-Web
Website
Commits
8e408279
Commit
8e408279
authored
Sep 04, 2022
by
VAN ZUIJLEN Nils
Browse files
Change password reset URL requirements
As per specified in
https://code.djangoproject.com/ticket/31913
Fixes
#75
parent
79a85294
Changes
1
Hide whitespace changes
Inline
Side-by-side
accounts/urls.py
View file @
8e408279
...
...
@@ -51,8 +51,8 @@ urlpatterns = [
),
name
=
"password_reset_done"
,
),
re_
path
(
r
"^
reset/
(?P
<uidb64>
[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})
/a
$
"
,
path
(
"
reset/<uidb64>
/<token>
/a"
,
auth_views
.
PasswordResetConfirmView
.
as_view
(
template_name
=
"accounts/password_reset_confirm.html"
,
success_url
=
reverse_lazy
(
"password_reset_complete"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment