Empty log message
darcs-hash:20060502235404-4ec08-3d748bece109de4146c02211f69242f6ac7fdc26.gz
This commit is contained in:
parent
c84298f38e
commit
aee6feb7dd
2 changed files with 4 additions and 10 deletions
|
@ -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 possédez un compte sur zamok, vous pouvez y exécuter
|
||||
creer_compte_wiki.""")
|
||||
|
||||
#### FIN DU HACK
|
||||
|
||||
|
||||
# try to get the password and pw repeat
|
||||
password = form.get('password', [''])[0]
|
||||
password2 = form.get('password2',[''])[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue