Commit 209f9397 authored by chove's avatar chove

on laisse ceux qui ont dja un compte... max s'occupera de les contacter

darcs-hash:20060502225831-4ec08-b3222de4ff5723b5de83146a60eab9f6132907de.gz
parent 6212bf98
......@@ -151,6 +151,13 @@ space between words. Group page name is not allowed.""") % wikiutil.escape(name)
except KeyError:
return _("Empty user name. Please enter a user name.")
#### HACK CRANS
# Oblige les utilistaeurs a crer des WikiNom
if not wikiutil.isStrictWikiname(theuser.name):
return _("""Nom d'utilisateur invalide {{{'%s'}}}.
Le login doit etre de la forme WikiNom, WikiPseudo, PrenomNom... (voir ci dessous pour plus d'informations).""") % wikiutil.escape(theuser.name)
#### FIN HACK
# Don't allow users with invalid names
if not user.isValidName(self.request, theuser.name):
return _("""Invalid user name {{{'%s'}}}.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment