mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Error handling on forgot password page (no-changelog) (#7633)
fixes: https://linear.app/n8n/issue/ADO-1339/fix-error-handling-on-forgot-password-page
This commit is contained in:
@@ -88,8 +88,8 @@ export default defineComponent({
|
||||
});
|
||||
} catch (error) {
|
||||
let message = this.$locale.baseText('forgotPassword.smtpErrorContactAdministrator');
|
||||
if (error.isAxiosError) {
|
||||
const { status } = error.response;
|
||||
if (error.httpStatusCode) {
|
||||
const { httpStatusCode: status } = error;
|
||||
if (status === 429) {
|
||||
message = this.$locale.baseText('forgotPassword.tooManyRequests');
|
||||
} else if (error.httpStatusCode === 422) {
|
||||
|
||||
Reference in New Issue
Block a user