Browse Source

fix: missing try...catch

pull/9397/head
Pranav C 3 months ago
parent
commit
34f7e2c26f
  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