Skip to content

Commit

Permalink
[docs] Moved and shortened OPENWISP_RADIUS_SMS_COOLDOWN
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Nov 22, 2023
1 parent 95ad354 commit 90786b1
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions docs/source/user/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -449,26 +449,6 @@ This can cause issues in regions where fixed line and mobile phone numbers
uses the same pattern (e.g. USA). Setting the value to ``True``
would make phone number type checking less strict.

``OPENWISP_RADIUS_SMS_COOLDOWN``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

**Default**: ``30``

This setting is used to specify time (in seconds) a user needs to wait before
re-requesting a SMS token.

For example:

.. code-block:: python
OPENWISP_RADIUS_SMS_COOLDOWN = 60
.. note::

This setting is applicable only for organizations
which have :ref:`enabled the SMS verification option
<openwisp_radius_sms_verification_enabled>`.

.. _openwisp_radius_optional_registration_fields:

``OPENWISP_RADIUS_OPTIONAL_REGISTRATION_FIELDS``
Expand Down Expand Up @@ -993,6 +973,13 @@ The length of the SMS token.

The hashing algorithm used to generate the numeric code.

``OPENWISP_RADIUS_SMS_COOLDOWN``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

**Default**: ``30``

Seconds users needs to wait before being able to request a new SMS token.

``OPENWISP_RADIUS_SMS_TOKEN_MAX_ATTEMPTS``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 90786b1

Please sign in to comment.