8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Ajustement de la suggestion des caractères pour le pseudo

This commit is contained in:
guimoz 2017-08-01 14:12:27 +02:00
parent 7bd8a3eb0a
commit c5cf9748f9

View file

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