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. 4
      packages/nc-gui/pages/forgot-password.vue

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

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

Loading…
Cancel
Save