diff options
-rw-r--r-- | docs/changelog.rst | 1 | ||||
-rw-r--r-- | rhodecode/model/forms.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index 0b32f7e2..54c341ad 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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**) ---------------------- diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index 7fc9103d..a0bd3707 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -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( |