anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy
BSD 3-Clause "New" or "Revised" License
419 stars 148 forks source link

Typo in README.md #50

Closed wencakisa closed 5 years ago

wencakisa commented 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:

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.

anx-ckreuzberger commented 5 years ago

:man_facepalming:

Thank you, I'll try to fix this asap (alternatively PR welcome :D)

wencakisa commented 5 years ago

@anx-abruckner I'll submit a PR in a moment. :)

anx-ckreuzberger commented 5 years ago

Thank you!