We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6625d3a commit fa7f935Copy full SHA for fa7f935
docs/settings.rst
@@ -147,6 +147,8 @@ REFRESH_TOKEN_EXPIRE_SECONDS
147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148
The number of seconds before a refresh token gets removed from the database by
149
the ``cleartokens`` management command. Check :ref:`cleartokens` management command for further info.
150
+Can be an ``Int`` or ``datetime.timedelta``.
151
+
152
NOTE: This value is completely ignored when validating refresh tokens.
153
If you don't change the validator code and don't run cleartokens all refresh
154
tokens will last until revoked or the end of time. You should change this.
0 commit comments