Revision 36f1eabb snf-astakos-app/astakos/im/forms.py

b/snf-astakos-app/astakos/im/forms.py
1080 1080
        password, email = True, True
1081 1081
        profile = super(ExtendedProfileForm, self).is_valid()
1082 1082
        if profile and self.cleaned_data.get('change_password', None):
1083

  
1083
            self.password_change_form.fields['new_password1'].required = True
1084
            self.password_change_form.fields['new_password2'].required = True
1084 1085
            password = self.password_change_form.is_valid()
1085 1086
            self.save_extra_forms.append('password')
1086 1087
        if profile and self.cleaned_data.get('change_email'):

Also available in: Unified diff