django-rest-passwordreset icon indicating copy to clipboard operation
django-rest-passwordreset copied to clipboard

Refactoring for old migrated settings

Open nezhar opened this issue 2 years ago • 0 comments

The following settings should be renamed to use the module's namespace schema:

  • DJANGO_REST_MULTITOKENAUTH_RESET_TOKEN_EXPIRY_TIME to DJANGO_REST_PASSWORDRESET_RESET_TOKEN_EXPIRY_TIME
  • DJANGO_REST_MULTITOKENAUTH_REQUIRE_USABLE_PASSWORD to DJANGO_REST_PASSWORDRESET_REQUIRE_USABLE_PASSWORD

A mapping should be used to ensure compatibility for the next 3 versions. A log message should mark the old variables as deprecated.

nezhar avatar Feb 08 '23 10:02 nezhar