We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa94aa commit 155bcb6Copy full SHA for 155bcb6
1 file changed
packages/oauth/oauth-provider-ui/src/data/password.ts
@@ -47,7 +47,6 @@ export function useResetPasswordConfirm() {
47
48
return useMutation({
49
async mutationFn({ token, password }: ConfirmResetPasswordInput) {
50
- if (token) return Promise.reject(new Error('AAA'))
51
return api.fetch('POST', '/reset-password-confirm', { token, password })
52
},
53
onSuccess(_data, _variables, _context) {
0 commit comments