Browse Source

Merge pull request #9397 from nocodb/nc-fix/password-reset-page

fix: Refactor error handling within password reset
pull/9334/head
Pranav C 3 months ago committed by GitHub
parent
commit
1e59ed9a27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      packages/nc-gui/pages/forgot-password.vue

10
packages/nc-gui/pages/forgot-password.vue

@ -42,9 +42,13 @@ async function resetPassword() {
resetError()
await api.auth.passwordForgot(form).then(() => {
success.value = true
})
try {
await api.auth.passwordForgot(form).then(() => {
success.value = true
})
} catch {
// ignore since error value is set by useApi and will be displayed in UI
}
}
function resetError() {

Loading…
Cancel
Save