diff --git a/credentials.yml b/credentials.yml index eabdf25..acd1eae 100644 --- a/credentials.yml +++ b/credentials.yml @@ -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