Skip to content

Commit

Permalink
Description for REGISTER_VERIFICATION_ONE_TIME_USE
Browse files Browse the repository at this point in the history
Based on [this message](#44 (comment))
  • Loading branch information
GuglielmoFelici authored Jan 3, 2025
1 parent ac9459c commit 09f1842
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rest_registration/settings_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,15 @@ def __new__(
to create the activation link for newly registered user.
"""),
),
Field('REGISTER_VERIFICATION_ONE_TIME_USE', default=False),
Field(
'REGISTER_VERIFICATION_ONE_TIME_USE',
default=False,
help=dedent("""\
This setting ensures the activation link can only be used once.
If REGISTER_VERIFICATION_AUTO_LOGIN is enabled, the link could auto-login
the user, which may not be desired.
"""),
),
Field(
'REGISTER_VERIFICATION_EMAIL_TEMPLATES',
default={
Expand Down

0 comments on commit 09f1842

Please sign in to comment.