mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 08:53:46 +00:00
Ajustement de la suggestion des caractères pour le pseudo
This commit is contained in:
parent
7007378623
commit
4f94d484d4
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class UserManager(BaseUserManager):
|
||||||
raise ValueError('Users must have an username')
|
raise ValueError('Users must have an username')
|
||||||
|
|
||||||
if not linux_user_check(pseudo):
|
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(
|
user = self.model(
|
||||||
pseudo=pseudo,
|
pseudo=pseudo,
|
||||||
|
|
Loading…
Reference in a new issue