--
Ticket URL: <https://code.djangoproject.com/ticket/28780>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* component: Uncategorized => contrib.auth
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:1>
* owner: nobody => Tim G.
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:2>
Comment (by Tim G.):
How this parameter should be customizable? Settings?
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:3>
Comment (by Tim Graham):
It could be a class attribute on the view.
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:4>
Comment (by Meiyer):
I think the configuration that will allow the easiest customization is a
class attribute such as:
{{{
class PasswordResetConfirmView(PasswordContextMixin, FormView):
reset_token_placeholder = INTERNAL_RESET_URL_TOKEN
}}}
Then it can be used in urls.py with
{{{
url('<pattern>',
PasswordResetConfirmView.as_view(reset_token_placeholder='wachtwoord-
aanduiding'),
name='password_reset_confirm')
}}}
Because of the format limitations on the <token> parameter (two
alphanumeric strings separated by a hyphen), it will be useful to add
instructions to the documentation so that developers do not accidentally
break their password reset functionality.
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:5>
Comment (by Tim G.):
PR is ready!
https://github.com/django/django/pull/9337
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:6>
* has_patch: 0 => 1
* version: 1.11 => master
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:7>
* needs_docs: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:8>
* status: assigned => new
* owner: Tim G. => (none)
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:9>
* status: new => assigned
* owner: (none) => xmeowmeowx
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:10>
Comment (by robinh00d):
PR for this ticket has been submitted:
https://github.com/django/django/pull/11189
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:11>
* needs_docs: 1 => 0
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:12>
* ui_ux: 1 => 0
* stage: Ready for checkin => Accepted
Comment:
Please do not mark your own PRs as "Ready for checkin" (see
[https://docs.djangoproject.com/en/2.2/internals/contributing/triaging-
tickets/#triage-workflow triage-workflow]).
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:13>
Comment (by robinh00d):
Replying to [comment:13 felixxm]:
> Please do not mark your own PRs as "Ready for checkin" (see
[https://docs.djangoproject.com/en/2.2/internals/contributing/triaging-
tickets/#triage-workflow triage-workflow]).
My apologies.
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:14>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:15>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:16>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58df8aa40fe88f753ba79e091a52f236246260b3" 58df8aa4]:
{{{
#!CommitTicketReference repository=""
revision="58df8aa40fe88f753ba79e091a52f236246260b3"
Fixed #28780 -- Allowed specyfing a token parameter displayed in password
reset URLs.
Co-authored-by: Tim Givois <tim.givo...@gmail.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28780#comment:17>