force parthenay username to be lowercase

This commit is contained in:
Frédéric Péters 2008-12-15 16:10:58 +01:00
parent 9bcd8ebe45
commit 614590aa0b
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class ParthenayIdentityStore(InheritingIdentityStore):
if t:
return t
account.username = account.username.lower()
# some twill magic
twill.commands.reset_browser()
twill.commands.go(