mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +00:00
Interdiction de l'underscore dans les pseudos pour ne pas créer de conflit dans les noms DNS
This commit is contained in:
parent
99d7772802
commit
7bd8a3eb0a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ def remove_user_room(room):
|
|||
|
||||
def linux_user_check(login):
|
||||
""" Validation du pseudo pour respecter les contraintes unix"""
|
||||
UNIX_LOGIN_PATTERN = re.compile("^[a-zA-Z0-9_-]*[$]?$")
|
||||
UNIX_LOGIN_PATTERN = re.compile("^[a-zA-Z0-9-]*[$]?$")
|
||||
return UNIX_LOGIN_PATTERN.match(login)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue