8
0
Fork 0
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:
Guillaume Goessel 2017-08-01 14:12:27 +02:00
parent 7007378623
commit 4f94d484d4

View file

@ -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,