diff --git a/packages/nc-gui/pages/forgot-password.vue b/packages/nc-gui/pages/forgot-password.vue index c5c0360b03..847e68fd64 100644 --- a/packages/nc-gui/pages/forgot-password.vue +++ b/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() {