Improve reset password API#6830
Conversation
|
It gets automatically linked to the issue once you mention it here. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## alpha #6830 +/- ##
==========================================
+ Coverage 83.91% 93.78% +9.86%
==========================================
Files 169 169
Lines 12206 12209 +3
==========================================
+ Hits 10243 11450 +1207
+ Misses 1963 759 -1204 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Closing as stale |
Linked issue #6817
Improving error codes on resetting password functionality, this implementation will require adding new error codes to the DefinitelyTyped like:
ParseError.USERNAME_NOT_FOUND = 603;
ParseError.RESET_PASSWORD_ERROR = 604;
ParseError.RESET_LINK_EXPIRED = 605;
ParseError.PASSWORD_POLICY_USERNAME = 606;
ParseError.PASSWORD_POLICY_REPEAT = 607;
ParseError.PASSWORD_POLICY_NOT_MEET = 608;
IMPORTANT Unit tests have been created using new error codes which will cause failures until new codes are implemented, please feel free to contribute adding them in order to promote this PR.