(feat) update credentials.yml

This commit is contained in:
cardosofede
2024-07-08 17:50:16 +03:00
parent 876302aa14
commit 2f2230c435

View File

@@ -1,13 +1,14 @@
cookie:
expiry_days: 30
key: random_signature_key
name: random_cookie_name
credentials:
usernames:
admin:
email: admin@gmail.com
name: Admin User
password: abc # To be replaced with hashed password: hashed_passwords = stauth.Hasher(['abc', 'def']).generate()
preauthorized: # the preferred way to add users since there is no need for manual hashing of passwords
logged_in: False
password: abc
cookie:
expiry_days: 30
key: some_signature_key # Must be string
name: some_cookie_name
pre-authorized:
emails:
- admin@admin.com