Files
tfm_ainventory/backend
Daniel Bedeleanu 51716faf87 Fix LDAP login: ensure password encoding and include user in response
- Fix password encoding: Convert password to UTF-8 bytes for LDAP protocol compatibility
- Add 'user' field to TokenResponse schema for frontend compatibility
- Update login endpoint to populate user object in response
- Resolves 'Invalid Protocol Password' error on LDAP login attempts

The issue was that frontend expected response.user but backend only returned
individual fields (user_id, username, role), causing localStorage assignment to fail.
2026-04-26 13:13:55 +03:00
..
2026-04-14 20:44:01 +03:00
2026-04-23 18:23:07 +03:00
2026-04-14 20:44:01 +03:00
2026-04-15 17:54:21 +03:00