Modular logistics and supply chain operating system (LSOS)
JavaScript driver-appfleet-managementfreight-managementinfrastructureinventory-managementlast-mile-deliverylogisticsondemandopen-sourceorder-managementroute-optimizationsupply-chain-managementtracking-and-monitoringtransport-management-systemtransportationwarehouse-management
corrected based on request
TemuulenBM008faa1ca7fb
diff --git a/console/app/controllers/auth/login.js b/console/app/controllers/auth/login.jsindex ad7f0939..a5228544 100644--- a/console/app/controllers/auth/login.js+++ b/console/app/controllers/auth/login.js@@ -109,10 +109,10 @@ export default class AuthLoginController extends Controller {// firefox patchevent.preventDefault();// get user credentials- const { email, password, rememberMe } = this;+ const { identity, password, rememberMe } = this;// If no password error- if (!email) {+ if (!identity) {return this.notifications.warning('Did you forget to enter your email?');}diff --git a/console/app/controllers/console/account/auth.js b/console/app/controllers/console/account/auth.jsindex b314b701..9ff10ced 100644--- a/console/app/controllers/console/account/auth.js+++ b/console/app/controllers/console/account/auth.js@@ -218,13 +218,13 @@ export default class ConsoleAccountAuthController extends Controller {@task *validatePasswordTask() {try {yield this.fetch.post('users/validate-password', {- current_password: this.password,- confirm_password: this.confirmPassword,+ password: this.password,+ password_confirmation: this.confirmPassword,});this.isPasswordValidated = true;} catch (error) {- this.notifications.error('Invalid current password.');+ this.notifications.serverError(error, 'Invalid current password.');}}