-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Enhanced reauthentication cookie checking 2. Featured ability to import credentials and cookie settings from YAML configuration file
- Loading branch information
1 parent
99c17d3
commit ac24465
Showing
4 changed files
with
52 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
cookie: | ||
name: 'some_cookie_name' | ||
key: 'some_signature_key' | ||
credentials: | ||
names: ['John Smith', 'Rebecca Briggs'] | ||
usernames: ['jsmith', 'rbriggs'] | ||
passwords: ['123', '456'] | ||
passwords: ['$2b$12$RITgFvOneaLd7DvPS6UhZeRpZDPjnGvTKV.FCMNWRM92fz7ZapuC2', | ||
'$2b$12$to1ADtwtCOFGMFNow7iJj.GjWWqy6FOEeeBjl/c.FmCZBSkf2bCr.'] | ||
cookie: | ||
name: 'some_cookie_name' | ||
key: 'some_signature_key' | ||
expiry_days: 30 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setuptools.setup( | ||
name="streamlit-authenticator", | ||
version="0.1.4", | ||
version="0.1.5", | ||
author="Mohammad Khorasani", | ||
author_email="[email protected]", | ||
description="A secure authentication module to validate user credentials in a Streamlit application.", | ||
|
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