Revision 649f2d36 snf-astakos-app/astakos/im/forms.py
b/snf-astakos-app/astakos/im/forms.py | ||
---|---|---|
971 | 971 |
del self.fields['change_password'] |
972 | 972 |
|
973 | 973 |
|
974 |
if EMAILCHANGE_ENABLED: |
|
974 |
if EMAILCHANGE_ENABLED and self.instance.can_change_email():
|
|
975 | 975 |
self.email_change = True |
976 | 976 |
else: |
977 | 977 |
self.fields_list.remove('new_email_address') |
Also available in: Unified diff