Closed wencakisa closed 5 years ago
I've noticed a minor, but common typo in the word length in the section with examples of overriding DJANGO_REST_PASSWORDRESET_TOKEN_CONFIG:
length
DJANGO_REST_PASSWORDRESET_TOKEN_CONFIG
You can configure the length as follows: DJANGO_REST_PASSWORDRESET_TOKEN_CONFIG = { "CLASS": "django_rest_passwordreset.tokens.RandomStringTokenGenerator", "OPTIONS": { "min_length": 20, "max_lenght": 30 # ________^ } }
You can configure the length as follows:
DJANGO_REST_PASSWORDRESET_TOKEN_CONFIG = { "CLASS": "django_rest_passwordreset.tokens.RandomStringTokenGenerator", "OPTIONS": { "min_length": 20, "max_lenght": 30 # ________^ } }
It is mistyped as lenght instead of length.
lenght
:man_facepalming:
Thank you, I'll try to fix this asap (alternatively PR welcome :D)
@anx-abruckner I'll submit a PR in a moment. :)
Thank you!
I've noticed a minor, but common typo in the word
length
in the section with examples of overridingDJANGO_REST_PASSWORDRESET_TOKEN_CONFIG
:It is mistyped as
lenght
instead oflength
.