mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-24 07:53:47 +00:00
Ajustement de la suggestion des caractères pour le pseudo
This commit is contained in:
parent
7bd8a3eb0a
commit
c5cf9748f9
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class UserManager(BaseUserManager):
|
|||
raise ValueError('Users must have an username')
|
||||
|
||||
if not linux_user_check(pseudo):
|
||||
raise ValueError('Username shall only contain [a-z0-9_-]')
|
||||
raise ValueError('Username shall only contain [a-z0-9-]')
|
||||
|
||||
user = self.model(
|
||||
pseudo=pseudo,
|
||||
|
|
Loading…
Reference in a new issue