Skip to content

Commit 1f7d270

Browse files
GuglielmoFeliciapragacz
authored andcommitted
Description for REGISTER_VERIFICATION_ONE_TIME_USE
Based on [this message](#44 (comment))
1 parent ac9459c commit 1f7d270

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

rest_registration/settings_fields.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,15 @@ def __new__(
181181
to create the activation link for newly registered user.
182182
"""),
183183
),
184-
Field('REGISTER_VERIFICATION_ONE_TIME_USE', default=False),
184+
Field(
185+
'REGISTER_VERIFICATION_ONE_TIME_USE',
186+
default=False,
187+
help=dedent("""\
188+
This setting ensures the activation link can only be used once.
189+
If REGISTER_VERIFICATION_AUTO_LOGIN is enabled, the link could auto-login
190+
the user, which may not be desired.
191+
"""),
192+
),
185193
Field(
186194
'REGISTER_VERIFICATION_EMAIL_TEMPLATES',
187195
default={

0 commit comments

Comments
 (0)