##// END OF EJS Templates
fixes #376 Cannot edit user (using container auth)
marcink -
r2072:98f91283 beta
parent child Browse files
Show More
@@ -20,6 +20,7 b' fixes'
20 - fixed some python2.5 compatibility issues
20 - fixed some python2.5 compatibility issues
21 - fixed issues with removed repos was accidentally added as groups, after
21 - fixed issues with removed repos was accidentally added as groups, after
22 full rescan of paths
22 full rescan of paths
23 - fixes #376 Cannot edit user (using container auth)
23
24
24 1.3.2 (**2012-02-28**)
25 1.3.2 (**2012-02-28**)
25 ----------------------
26 ----------------------
@@ -487,7 +487,7 b' def UniqSystemEmail(old_data):'
487 class _UniqSystemEmail(formencode.validators.FancyValidator):
487 class _UniqSystemEmail(formencode.validators.FancyValidator):
488 def to_python(self, value, state):
488 def to_python(self, value, state):
489 value = value.lower()
489 value = value.lower()
490 if old_data.get('email', '').lower() != value:
490 if (old_data.get('email') or '').lower() != value:
491 user = User.get_by_email(value, case_insensitive=True)
491 user = User.get_by_email(value, case_insensitive=True)
492 if user:
492 if user:
493 raise formencode.Invalid(
493 raise formencode.Invalid(
General Comments 0
You need to be logged in to leave comments. Login now