-
-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting SECRET_KEY to be str or bytes, add SECRET_KEY_FALLBACKS…
…, update PasswordResetTokenGenerator (#1411) Problem: SECRET_KEY could be either str or bytes, and it doesn't look like we have any support for SECRET_KEY_FALLBACKS. Solution: Fix type annotation and add SECRET_KEY_FALLBACKS. Also update usages in PasswordResetTokenGenerator.
- Loading branch information
1 parent
75c2792
commit 4faa602
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters