mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Could not use specified username. Value was -4 characters longer than the configured maximum length (16)
#404
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?
Originally created by @rasulovk on GitHub (Jan 31, 2024).
Login to planka go thought Authentik. And Authentik itself has Domain controller integration for login. Some of the users username longer than others, which cause error, and user cannot login:
planka_1 | 2024-01-31 07:41:32 [E] Sending 500 ("Server Error") response:
planka_1 | Invalid new record.
planka_1 | Details:
planka_1 | Could not use specified
username. Violated one or more validation rules:planka_1 | • Value was -4 characters longer than the configured maximum length (16)
planka_1 |
planka_1 |
Please advise how to change the length of username?
@meltyshev commented on GitHub (Jan 31, 2024):
Hi! We've added the ability to ignore
usernamewhen using OIDC. The new version 1.15.5 is already being built, should be available in about an hour.UPD: another way is to modify the
server/api/models/User.jsfile and changemaxLength, then build your own container. We'll consider adding the ability to have longer usernames in Planka without modification.@rasulovk commented on GitHub (Feb 1, 2024):
@meltyshev
Thanks a lot, it is working. :)
@woprandi commented on GitHub (Feb 8, 2024):
Why such a low limit and hard-coded ?
@meltyshev commented on GitHub (Feb 8, 2024):
Hmm, maybe we really should make the username configurable.
@DrumSlayers commented on GitHub (Jan 13, 2025):
Yes definitely ! We do have the same issue here