baff7ce4db1cf4a5ebdab7d2f3993491da8cd64f
Username lookups (login, admin seed, LDAP sync) compared case-sensitively against a stored value with whatever casing it was created with, so "Admin" and "admin" were treated as different accounts. Normalizes at every write and read path: UserService.create/update lowercase the username before persisting, findByUsername lowercases the lookup input, AuthService.validateUser lowercases before the login query, AdminSeedService lowercases the configured admin username, and the LDAP sync loop lowercases the mapped sAMAccountName before using it for lookup/create/update -- so AD casing differences don't create duplicate accounts either. Added a data migration to lowercase any existing mixed-case usernames. It relies on the User.username unique constraint to fail loudly if two existing accounts would collide after normalizing, rather than silently merging them. Verified locally: logged in with "ADMIN" (uppercase) against the existing lowercase "admin" account after rebuilding the API image. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Description
Tessera - Modulare Workflow-Automatisierung und Tool-Integration
Releases
14
Tessera 1.9.1
Latest
Languages
TypeScript
90.3%
JavaScript
5.6%
Rust
1.5%
HTML
1.1%
Shell
0.6%
Other
0.8%