def validate_passwords_match(self, value):
        if self.password.value == value:
            return value
        else:
            raise ValueError(_('''The two passwords don't match'''))
Check if confirmation password and password are equals
dataset/ETHPy150Open Net-ng/kansha/kansha/user/user_profile.py/UserForm.validate_passwords_match