-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iss #35 Added a config option to control setting session or persisten…
…t cookies. The options getters seem to be merging app config and default config as transparently as possible so I added a helper method in utils.py, _get_cookie_max_age, to translate the true/false value into something meaningful for flask's set_cookie max_age parameter. Tests have been run on Python 2.7 only! This has also been installed on a flask app and tested manually.
- Loading branch information
Craig Wright
committed
Apr 5, 2017
1 parent
8f57733
commit 09ac2df
Showing
4 changed files
with
24 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
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