add admin page to manage private data
This commit is contained in:
32
webpages/users.yaml
Normal file
32
webpages/users.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
cookie:
|
||||
expiry_days: 30
|
||||
key: buffteks.org # To be filled with any string
|
||||
name: buffteks.org # To be filled with any string
|
||||
credentials:
|
||||
usernames:
|
||||
czhang:
|
||||
email: czhang@wtamu.edu
|
||||
failed_login_attempts: 0 # Will be managed automatically
|
||||
first_name: Carl
|
||||
last_name: Zhang
|
||||
logged_in: False # Will be managed automatically
|
||||
password: 1992Carl@* # Will be hashed automatically
|
||||
roles: # Optional
|
||||
- admin
|
||||
- editor
|
||||
- viewer
|
||||
|
||||
# oauth2: # Optional
|
||||
# google: # Follow instructions: https://developers.google.com/identity/protocols/oauth2
|
||||
# client_id: # To be filled
|
||||
# client_secret: # To be filled
|
||||
# redirect_uri: # URL to redirect to after OAuth2 authentication
|
||||
# microsoft: # Follow instructions: https://learn.microsoft.com/en-us/graph/auth-register-app-v2
|
||||
# client_id: # To be filled
|
||||
# client_secret: # To be filled
|
||||
# redirect_uri: # URL to redirect to after OAuth2 authentication
|
||||
# tenant_id: # To be filled
|
||||
# pre-authorized: # Optional
|
||||
# emails:
|
||||
# - melsby@gmail.com
|
||||
# api_key: # Optional - register to receive a free API key: https://stauthenticator.com
|
||||
Reference in New Issue
Block a user