mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: can't submit the add user form #598
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 @LiuYue616 on GitHub (Nov 4, 2024).
Where is the problem occurring?
I encountered the problem while using the application (Frontend)
What browsers are you seeing the problem on?
Microsoft Edge
Current behaviour
When I click the Add User button, all the contents in the username input box will be selected instead of submitted。

Desired behaviour
No response
Steps to reproduce
The latest prebuilt planka I used is deployed under Windows 11, and other functions are normal。
Other information
No response
@meltyshev commented on GitHub (Nov 6, 2024):
Hi! Thanks for reporting this. The username validation uses the regular expression
^[a-zA-Z0-9]+((_|\.)?[a-zA-Z0-9])*$, which means usernames should contain only Latin letters and numbers, with optional_or.symbols in between.@LiuYue616 commented on GitHub (Nov 7, 2024):
Thank you for answering my stupid question,it works。
@meltyshev commented on GitHub (Nov 7, 2024):
Absolutely no worries! I think we need to provide some error messages, as it can sometimes be unclear why this field is being selected, what the expected value should be, and so on :)
@obkgroove21 commented on GitHub (May 25, 2025):
Is it possible to allow mail-adress as username. Especially when you want to use keycloak, this is important:
@meltyshev
@meltyshev commented on GitHub (May 25, 2025):
Hi! I don't think it's a good idea to store an email in both the email and username fields, especially since the username is optional and can be left blank.
Instead, you can configure the following:
OIDC_EMAIL_ATTRIBUTEandOIDC_USERNAME_ATTRIBUTE- to use different fields for email and username.OIDC_IGNORE_USERNAME=true- to skip syncing the username.Hope this helps!
@obkgroove21 commented on GitHub (May 25, 2025):
Thanks a lot, it worked with:
OIDC_IGNORE_USERNAME=true - to skip syncing the username.