Changeset - 98f912832811
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2012-02-29 15:39:07
marcin@python-works.com
fixes #376 Cannot edit user (using container auth)
2 files changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
docs/changelog.rst
Show inline comments
 
@@ -20,6 +20,7 @@ fixes
 
- fixed some python2.5 compatibility issues 
 
- fixed issues with removed repos was accidentally added as groups, after
 
  full rescan of paths
 
- fixes #376 Cannot edit user (using container auth)
 

	
 
1.3.2 (**2012-02-28**)
 
----------------------
rhodecode/model/forms.py
Show inline comments
 
@@ -487,7 +487,7 @@ def UniqSystemEmail(old_data):
 
    class _UniqSystemEmail(formencode.validators.FancyValidator):
 
        def to_python(self, value, state):
 
            value = value.lower()
 
            if old_data.get('email', '').lower() != value:
 
            if (old_data.get('email') or '').lower() != value:
 
                user = User.get_by_email(value, case_insensitive=True)
 
                if user:
 
                    raise formencode.Invalid(
0 comments (0 inline, 0 general)