Update default admin credentials
This commit is contained in:
1 parent
9bda3ab14b
commit
a08e114eb2
2 files changed
+4
-4
No files matched your search
@@ -33,8 +33,8 @@ A Python web application built with Flask that automatically renames PDF files b
|
|||||||
export CLIENT_SECRET="your-client-secret"
|
export CLIENT_SECRET="your-client-secret"
|
||||||
|
|
||||||
# For admin login
|
# For admin login
|
||||||
export ADMIN_USERNAME="admin"
|
export ADMIN_USERNAME="trbcit"
|
||||||
export ADMIN_PASSWORD="your-secure-password"
|
export ADMIN_PASSWORD="atdrmbicn"
|
||||||
|
|
||||||
# Required
|
# Required
|
||||||
export SECRET_KEY="your-random-secret-key"
|
export SECRET_KEY="your-random-secret-key"
|
||||||
|
|||||||
+2
-2
@@ -18,8 +18,8 @@ CLIENT_ID = os.getenv('CLIENT_ID', 'your-client-id')
|
|||||||
CLIENT_SECRET = os.getenv('CLIENT_SECRET', 'your-client-secret')
|
CLIENT_SECRET = os.getenv('CLIENT_SECRET', 'your-client-secret')
|
||||||
|
|
||||||
# Admin Configuration
|
# Admin Configuration
|
||||||
ADMIN_USERNAME = os.getenv('ADMIN_USERNAME', 'admin')
|
ADMIN_USERNAME = os.getenv('ADMIN_USERNAME', 'trbcit')
|
||||||
ADMIN_PASSWORD = os.getenv('ADMIN_PASSWORD', 'change-this-password')
|
ADMIN_PASSWORD = os.getenv('ADMIN_PASSWORD', 'atdrmbicn')
|
||||||
|
|
||||||
oauth = OAuth(app)
|
oauth = OAuth(app)
|
||||||
microsoft = oauth.register(
|
microsoft = oauth.register(
|
||||||
|
|||||||
Reference in new issue
Block a user