-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8aae20a
commit e8cf716
Showing
3 changed files
with
24 additions
and
12 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 |
---|---|---|
|
@@ -40,7 +40,8 @@ | |
"CAPTCHA_FONT": "captcha-font.ttf", | ||
"TWO_STEP_SESSION_EXPIRATION": 300, | ||
"AUTHENTICATION_SESSION_EXPIRATION": 86400, | ||
"AUTHENTICATION_SESSION_REFRESH": 2592000, | ||
"AUTHENTICATION_REFRESH_EXPIRATION": 2592000, | ||
"AUTHENTICATION_REFRESH_AUTO": True, | ||
"ALLOW_LOGIN_WITH_USERNAME": False, | ||
"INITIAL_ADMIN_EMAIL": "[email protected]", | ||
"INITIAL_ADMIN_PASSWORD": "admin123", | ||
|
@@ -65,8 +66,9 @@ class Config(dict): | |
CAPTCHA_SESSION_EXPIRATION (int): The amount of seconds till captcha session expiration on creation. Setting to 0 will disable expiration. | ||
CAPTCHA_FONT (str): The file path to the font being used for captcha generation. | ||
TWO_STEP_SESSION_EXPIRATION (int): The amount of seconds till two-step session expiration on creation. Setting to 0 will disable expiration. | ||
AUTHENTICATION_SESSION_EXPIRATION (bool): The amount of seconds till authentication session expiration on creation. Setting to 0 will disable expiration. | ||
AUTHENTICATION_REFRESH_EXPIRATION (bool): The amount of seconds till authentication session refresh expiration. | ||
AUTHENTICATION_SESSION_EXPIRATION (int): The amount of seconds till authentication session expiration on creation. Setting to 0 will disable expiration. | ||
AUTHENTICATION_REFRESH_EXPIRATION (int): The amount of seconds till authentication session refresh expiration. | ||
AUTHENTICATION_REFRESH_AUTO (bool): Expired sessions will be automatically refreshed and passed into endpoint on authentication attempt, requires session to be re-encoded. | ||
ALLOW_LOGIN_WITH_USERNAME (bool): Allows login via username and email. | ||
INITIAL_ADMIN_EMAIL (str): Email used when creating the initial admin account. | ||
INITIAL_ADMIN_PASSWORD (str): Password used when creating the initial admin account. | ||
|
@@ -87,6 +89,7 @@ class Config(dict): | |
TWO_STEP_SESSION_EXPIRATION: int | ||
AUTHENTICATION_SESSION_EXPIRATION: int | ||
AUTHENTICATION_REFRESH_EXPIRATION: int | ||
AUTHENTICATION_REFRESH_AUTO: bool | ||
ALLOW_LOGIN_WITH_USERNAME: bool | ||
INITIAL_ADMIN_EMAIL: str | ||
INITIAL_ADMIN_PASSWORD: str | ||
|
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