(self, *, raise_exception=False)
| 1062 | fields = '__all__' |
| 1063 | |
| 1064 | def is_valid(self, *, raise_exception=False): |
| 1065 | super().is_valid(raise_exception=True) |
| 1066 | if self.data.get('password') != self.data.get('re_password'): |
| 1067 | raise AppApiException(ExceptionCodeConstants.PASSWORD_NOT_EQ_RE_PASSWORD.value.code, |
| 1068 | ExceptionCodeConstants.PASSWORD_NOT_EQ_RE_PASSWORD.value.message) |
| 1069 | return True |
| 1070 | |
| 1071 | def reset_password(self, user_id: str): |
| 1072 | """ |
no test coverage detected