mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update user.py
Allowed dots to be used in creating username
This commit is contained in:
parent
770fdb6861
commit
5738526349
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ from yunohost.utils.system import binary_to_human
|
|||
logger = getActionLogger("yunohost.user")
|
||||
|
||||
FIELDS_FOR_IMPORT = {
|
||||
"username": r"^[a-z0-9_]+$",
|
||||
"username": r"^[a-z0-9_.]+$",
|
||||
"firstname": r"^([^\W\d_]{1,30}[ ,.\'-]{0,3})+$",
|
||||
"lastname": r"^([^\W\d_]{1,30}[ ,.\'-]{0,3})+$",
|
||||
"password": r"^|(.{3,})$",
|
||||
|
|
Loading…
Add table
Reference in a new issue