Hi, I have the same problem with the login. Everything seems to set up correctly, but I just can't get past the login screen. Setup Docker: s1t5/mailarchiver:latest PostgreSQL 17 Fresh install on Unraid Environment variables: Authentication__Username=admin
Authentication__Password=password # (tried various simple passwords)
ConnectionStrings__DefaultConnection=Host=192.168.1.40;Port=5435;Database=mailarchiverdb;...
TimeZone__DisplayTimeZoneId=Europe/Rome What's happening The container starts fine, migrations run successfully, and the admin user gets created in the database: SELECT "Username", "Email", "IsAdmin", "IsActive"
FROM mail_archiver."Users";
Username: admin
Email: admin@local
IsAdmin: true
IsActive: trueBut when I try to login with username admin and the password I set in Authentication__Password, it always fails with "Invalid username or password". What I've Tried - Used the exact password from the env variable - Tried super simple passwords like "password", "admin123" - Deleted the user and let the app recreate it - Dropped the entire database and started fresh - Enabled trace logging to see what's going on The logs show the user is found in the database, but password verification just fails: ``` Context started tracking 'User' entity with key '{Id: 1}' ResourceManagerStringLocalizer searched for 'InvalidUserPassword' Failed login attempt for username: admin ``` Questions 1. What password hashing algorithm does mail-archiver use? 2. Should the `Authentication__Password` env var match what I type in the login form, or is it only used during initial user creation? 3. Is there a way to manually reset the password via database or CLI? I've spent quite a bit of time debugging this and I'm a bit stuck. Any pointers would be greatly appreciated! Thanks! 🙏