mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +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