Browse Source

feat(nocodb): include error message for resetting password

pull/4571/head
Wing-Kam Wong 2 years ago
parent
commit
b669d90ee5
  1. 2
      packages/nocodb/src/lib/meta/api/userApi/ui/auth/resetPassword.ts
  2. 2
      packages/nocodb/src/lib/v1-legacy/rest/ui/auth/resetPassword.ts

2
packages/nocodb/src/lib/meta/api/userApi/ui/auth/resetPassword.ts

@ -86,7 +86,7 @@ export default `<!DOCTYPE html>
});
this.success = true;
} catch (e) {
alert('Some error occured')
alert('Failed to reset password: ' + e.response.data.msg)
}
}
}

2
packages/nocodb/src/lib/v1-legacy/rest/ui/auth/resetPassword.ts

@ -86,7 +86,7 @@ export default `<!DOCTYPE html>
});
this.success = true;
} catch (e) {
alert('Some error occured')
alert('Failed to reset password: ' + e.response.data.msg)
}
}
}

Loading…
Cancel
Save