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
Critical patches for user verification during onboard and driver creation and loign
Ronald A. Richardsonfd604c99e04c
diff --git a/console/app/controllers/auth/verification.js b/console/app/controllers/auth/verification.jsindex aef5943a..c2ea9989 100644--- a/console/app/controllers/auth/verification.js+++ b/console/app/controllers/auth/verification.js@@ -81,7 +81,7 @@ export default class AuthVerificationController extends Controller {** @memberof OnboardVerifyEmailController*/- @tracked waitTimeout = 800 * 60 * 2;+ @tracked waitTimeout = 60 * 100;/*** Determines if Fleetbase is still awaiting verification after a certain time.@@ -190,8 +190,10 @@ export default class AuthVerificationController extends Controller {modal.startLoading();const phone = modal.getOption('phone');- return this.fetch.post('onboard/send-verification-sms', { phone }).then(() => {+ return this.fetch.post('onboard/send-verification-sms', { phone, session: this.hello }).then(() => {this.notifications.success('Verification code SMS sent!');+ }).catch((error) => {+ this.notifications.serverError(error);});},});@@ -211,8 +213,10 @@ export default class AuthVerificationController extends Controller {modal.startLoading();const email = modal.getOption('email');- return this.fetch.post('onboard/send-verification-email', { email }).then(() => {+ return this.fetch.post('onboard/send-verification-email', { email, session: this.hello }).then(() => {this.notifications.success('Verification code email sent!');+ }).catch((error) => {+ this.notifications.serverError(error);});},});diff --git a/docker/Dockerfile b/docker/Dockerfileindex d27aa107..abd005f3 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -1,6 +1,6 @@# syntax = docker/dockerfile:1.2# Base stage-FROM php:7.4-fpm-bullseye as base+FROM php:8.0-fpm-bullseye as base# Download and install GEOS PHP bindingsRUN mkdir -p /usr/src/php/ext \@@ -36,7 +36,9 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer# Set some build ENV variablesENV LOG_CHANNEL=stdout-ENV CACHE_DRIVER=null+ENV CACHE_DRIVER=redis+ENV BROADCAST_DRIVER=socketcluster+ENV QUEUE_CONNECTION=redis# For development onlyWORKDIR /var/www/htmldiff --git a/packages/core-api b/packages/core-apiindex 7faca511..00c489b6 160000--- a/packages/core-api+++ b/packages/core-api@@ -1 +1 @@-Subproject commit 7faca511a792c0f657cdf897517b06295ef823e7+Subproject commit 00c489b6cc4f22e02e1184b3dcb550407efe4661diff --git a/packages/fleetops b/packages/fleetopsindex 687c8278..a36f876f 160000--- a/packages/fleetops+++ b/packages/fleetops@@ -1 +1 @@-Subproject commit 687c82780e359fb69dddc19e198c5d82308aabe0+Subproject commit a36f876f95c996708f48fd5412926d7b997542ae