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 <noreply@anthropic.com>
This commit is contained in:
Wayne Hayes 2026-06-12 22:26:26 -04:00
parent 7eefac0224
commit 783b09f463

View File

@ -1,10 +1,11 @@
# Authelia file user backend. Regenerate a hash with: # 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: users:
admin: zarniwoop:
disabled: false disabled: false
displayname: "Admin" displayname: "Zarniwoop"
password: "$argon2id$v=19$m=65536,t=3,p=4$ZVJNUh4uH7VMccpo3aRihQ$b///aUhTewPsXZ2AcqqJKPb8nLq6xVNgLNJQ7/b5lmo" password: "$argon2id$v=19$m=65536,t=3,p=4$2Zh5wh3yN/kCvR26mTRo9Q$g86OC3E8Q4lH0czTOal7Gci2+U6t0ZIFhogIwtRoA5M"
email: admin@infinidim.net email: admin@infinidim.net
groups: groups:
- admins - admins