Customer can login error message..
This commit is contained in:
parent
abc18da51c
commit
020439619b
11
resources/assets/js/views/sales/customers.js
vendored
11
resources/assets/js/views/sales/customers.js
vendored
@ -63,6 +63,17 @@ const app = new Vue({
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (response.data.error) {
|
||||||
|
this.$notify({
|
||||||
|
message: response.data.message,
|
||||||
|
timeout: 0,
|
||||||
|
icon: 'fas fa-bell',
|
||||||
|
type: 'warning',
|
||||||
|
});
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (response.data.success) {
|
if (response.data.success) {
|
||||||
this.form.errors.set('email', {
|
this.form.errors.set('email', {
|
||||||
0: can_login_errors.email
|
0: can_login_errors.email
|
||||||
|
Loading…
x
Reference in New Issue
Block a user