Merge pull request #4541 from beganovich/v5-4533

(v5) Fix issue with setup: SMTP testing
This commit is contained in:
Benjamin Beganović 2020-12-21 08:51:25 +01:00 committed by GitHub
commit bccfcf0ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

0
public/css/card-js.min.css vendored Executable file → Normal file
View File

File diff suppressed because one or more lines are too long

View File

@ -15,6 +15,6 @@
"/js/clients/quotes/approve.js": "/js/clients/quotes/approve.js?id=85bcae0a646882e56b12", "/js/clients/quotes/approve.js": "/js/clients/quotes/approve.js?id=85bcae0a646882e56b12",
"/js/clients/shared/multiple-downloads.js": "/js/clients/shared/multiple-downloads.js?id=5c35d28cf0a3286e7c45", "/js/clients/shared/multiple-downloads.js": "/js/clients/shared/multiple-downloads.js?id=5c35d28cf0a3286e7c45",
"/js/clients/shared/pdf.js": "/js/clients/shared/pdf.js?id=fa54bb4229aba6b0817c", "/js/clients/shared/pdf.js": "/js/clients/shared/pdf.js?id=fa54bb4229aba6b0817c",
"/js/setup/setup.js": "/js/setup/setup.js?id=7ab6418738b4f4672cf1", "/js/setup/setup.js": "/js/setup/setup.js?id=b264d828086fdf87b710",
"/css/card-js.min.css": "/css/card-js.min.css?id=62afeb675235451543ad" "/css/card-js.min.css": "/css/card-js.min.css?id=62afeb675235451543ad"
} }

View File

@ -63,7 +63,10 @@ class Setup {
} }
Axios.post('/setup/check_mail', data) Axios.post('/setup/check_mail', data)
.then((response) => this.handleSuccess(this.checkSmtpAlert)) .then((response) => {
this.handleSuccess(this.checkSmtpAlert, 'account-wrapper');
this.handleSuccess(this.checkSmtpAlert, 'submit-wrapper');
})
.catch((e) => .catch((e) =>
this.handleFailure(this.checkSmtpAlert, e.response.data.message) this.handleFailure(this.checkSmtpAlert, e.response.data.message)
) )