From 783b09f463c96568ad1098a10415b9506c2443ec Mon Sep 17 00:00:00 2001 From: Wayne Hayes Date: Fri, 12 Jun 2026 22:26:26 -0400 Subject: [PATCH] authelia: set portal admin user to zarniwoop (match AUTHELIA_ADMIN_USER) The vendored user db carried the template `admin`, but the operator .env sets AUTHELIA_ADMIN_USER=zarniwoop, so portal login failed ("user not found"). Rename the file-backend user to `zarniwoop` with an argon2id hash of the .env AUTHELIA_ADMIN_PASSWORD (verified via `authelia crypto hash validate`). Email kept as admin@infinidim.net (a real Stalwart mailbox) so password-reset works. Co-Authored-By: Claude Opus 4.8 --- authelia/config/users_database.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/authelia/config/users_database.yml b/authelia/config/users_database.yml index f94c594..d1d6e58 100644 --- a/authelia/config/users_database.yml +++ b/authelia/config/users_database.yml @@ -1,10 +1,11 @@ # Authelia file user backend. Regenerate a hash with: -# docker run --rm authelia/authelia:latest authelia crypto hash generate argon2 --password 'PASS' +# docker run --rm authelia/authelia:4.39.20 authelia crypto hash generate argon2 --password 'PASS' +# Username/password come from AUTHELIA_ADMIN_USER / AUTHELIA_ADMIN_PASSWORD in the root .env. users: - admin: + zarniwoop: disabled: false - displayname: "Admin" - password: "$argon2id$v=19$m=65536,t=3,p=4$ZVJNUh4uH7VMccpo3aRihQ$b///aUhTewPsXZ2AcqqJKPb8nLq6xVNgLNJQ7/b5lmo" + displayname: "Zarniwoop" + password: "$argon2id$v=19$m=65536,t=3,p=4$2Zh5wh3yN/kCvR26mTRo9Q$g86OC3E8Q4lH0czTOal7Gci2+U6t0ZIFhogIwtRoA5M" email: admin@infinidim.net groups: - admins