Files
EpicNext-Cms/src
openhands ac5cd6bc3f
CI / check (push) Failing after 5s
CI / release (push) Skipped
CI / deploy (push) Skipped
fix: normalize username and password with NFC in login flow
precheckLogin already normalized the username with NFC, but the
NextAuth credentials authorize handler only trimmed it. This caused a
mismatch for accounts with accented/non-ASCII usernames: the precheck
passed while the actual sign-in lookup found no user and returned
'invalid username or password'.

Also normalize the password to NFC in both the precheck and the
authorize handler to match how register.ts hashes it.
2026-08-27 15:09:43 +02:00
..
2026-07-13 21:57:41 +02:00