Commit aee6feb7 authored by chove's avatar chove

Empty log message

darcs-hash:20060502235404-4ec08-3d748bece109de4146c02211f69242f6ac7fdc26.gz
parent c84298f3
......@@ -148,12 +148,7 @@ def isValidName(request, name):
@param name: user name, unicode
"""
normalized = normalizeName(name)
#### HACK CRANS
#return (name == normalized) and not wikiutil.isGroupPage(request, name)
return not name or ((name == normalized) \
and not wikiutil.isGroupPage(request, name)
and wikiutil.isStrictWikiname(name))
#### HACK CRANS
return (name == normalized) and not wikiutil.isGroupPage(request, name)
def encodeList(items):
......
......@@ -145,7 +145,7 @@ space between words. Group page name is not allowed.""") % wikiutil.escape(name)
else:
# Save user profile
theuser = user.User(self.request)
# Require non-empty name
try:
theuser.name = form['username'][0]
......@@ -172,7 +172,7 @@ space between words. Group page name is not allowed.""") % wikiutil.escape(theus
return _("This user name already belongs to somebody else.")
else:
newuser = 0
#### HACK SAUVAGE
import sys
sys.path.append('/usr/scripts/gestion/')
......@@ -184,9 +184,8 @@ Pour des raisons de s
possible que depuis la zone CRANS.
Si vous possdez un compte sur zamok, vous pouvez y excuter
creer_compte_wiki.""")
#### FIN DU HACK
# try to get the password and pw repeat
password = form.get('password', [''])[0]
password2 = form.get('password2',[''])[0]
......
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