Show More
@@ -415,7 +415,7 b' def UniqSystemEmail(old_data):' | |||
|
415 | 415 | class _UniqSystemEmail(formencode.validators.FancyValidator): |
|
416 | 416 | def to_python(self, value, state): |
|
417 | 417 | value = value.lower() |
|
418 | if old_data.get('email').lower() != value: | |
|
418 | if old_data.get('email','').lower() != value: | |
|
419 | 419 | user = User.get_by_email(value, case_insensitive=True) |
|
420 | 420 | if user: |
|
421 | 421 | raise formencode.Invalid( |
General Comments 0
You need to be logged in to leave comments.
Login now