Skip to content

Conversation

@LuffyNoNika
Copy link

No description provided.

LuffyNoNika and others added 2 commits October 28, 2025 16:18
- Allow login with case-insensitive username.
- Ensure the displayed username in the UI is always the canonical DB username.
- Added canonicalUsername to AuthUser and persisted it.
- Updated auth.service to:
  - decode JWT and extract userId
  - fetch canonical username via /api/v2/ui/users/{id}
  - hydrate session and localStorage with canonicalUsername
  - handle autoLogin logic when reloading
- Updated header.component to display canonicalUsername, not the typed value.
- Added jwt-payload.model for typed JWT decoding.
@LuffyNoNika LuffyNoNika requested a review from cv5ch October 28, 2025 16:54
@LuffyNoNika LuffyNoNika linked an issue Oct 28, 2025 that may be closed by this pull request
@gluafamichl gluafamichl self-requested a review October 30, 2025 12:27
Copy link
Contributor

@gluafamichl gluafamichl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the failing unit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT]: case insensitive login

2 participants