Mercurial > kallithea
comparison rhodecode/model/forms.py @ 2479:9225597688f4 beta
Added validation into user email map
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 18 Jun 2012 21:25:49 +0200 |
parents | 4419551b2915 |
children | cb9e73b29a87 |
comparison
equal
deleted
inserted
replaced
2478:8eab81115660 | 2479:9225597688f4 |
---|---|
297 ldap_attr_firstname = v.UnicodeString(strip=True,) | 297 ldap_attr_firstname = v.UnicodeString(strip=True,) |
298 ldap_attr_lastname = v.UnicodeString(strip=True,) | 298 ldap_attr_lastname = v.UnicodeString(strip=True,) |
299 ldap_attr_email = v.UnicodeString(strip=True,) | 299 ldap_attr_email = v.UnicodeString(strip=True,) |
300 | 300 |
301 return _LdapSettingsForm | 301 return _LdapSettingsForm |
302 | |
303 | |
304 def UserExtraEmailForm(): | |
305 class _UserExtraEmailForm(formencode.Schema): | |
306 email = All(v.UniqSystemEmail(), v.Email) | |
307 | |
308 return _UserExtraEmailForm |