From 2f2230c4358cb7b26a7fa6319e67bae44327f4c4 Mon Sep 17 00:00:00 2001 From: cardosofede Date: Mon, 8 Jul 2024 17:50:16 +0300 Subject: [PATCH] (feat) update credentials.yml --- credentials.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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