mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-29 10:04:20 +01:00
(feat) update credentials.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user