mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:42:59 +03:00
[PR #909] [CLOSED] feat: allow uppercase usernames #562
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/909
Author: @Felitendo
Created: 9/3/2025
Status: ❌ Closed
Base:
main← Head:feat/uppercase-usernames📝 Commits (7)
e80abfbfeat: allow uppercase usernames7aaaf17feat: added translations and tests9dfdcdffeat: removed toggle and addressed all other concernsee8d9a2fix: username matching logic to handle case-insensitive duplicates2b96c85Merge branch 'main' into feat/uppercase-usernames487c343Merge branch 'main' into feat/uppercase-usernamesbec9bf9fix: cleaned up backend mess📊 Changes
27 files changed (+71 additions, -67 deletions)
View changed files
📝
.gitignore(+1 -0)📝
backend/internal/cmds/one_time_access_token.go(+3 -2)📝
backend/internal/middleware/error_handler.go(+1 -1)📝
backend/internal/service/ldap_service.go(+2 -2)📝
backend/internal/service/user_service.go(+1 -0)📝
frontend/messages/cs.json(+1 -1)📝
frontend/messages/da.json(+1 -1)📝
frontend/messages/de.json(+1 -1)📝
frontend/messages/en.json(+1 -1)📝
frontend/messages/es.json(+1 -1)📝
frontend/messages/fr.json(+1 -1)📝
frontend/messages/it.json(+2 -2)📝
frontend/messages/ko.json(+1 -1)📝
frontend/messages/nl.json(+2 -2)📝
frontend/messages/pl.json(+1 -1)📝
frontend/messages/pt-BR.json(+1 -1)📝
frontend/messages/ru.json(+1 -1)📝
frontend/messages/uk.json(+2 -2)📝
frontend/messages/vi.json(+2 -2)📝
frontend/messages/zh-CN.json(+1 -1)...and 7 more files
📄 Description
Allows the use of uppercase usernames like described in this issue: #906
This PR Adds a new toggle to the Administration Settings called "Allow uppercase usernames". When toggling it, it becomes possible to add/update usernames even when they start with an uppercase letter.
This option is disabled by default.
Also sorry for editing the .gitignore file, but i think it will be better to ignore .pnpm-store/ files anyways
fixes #906
TODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.