From b0475e337131ca13b02aebc0e02a4f21a92a62ed Mon Sep 17 00:00:00 2001 From: ISMAIL MASSERAN Date: Sun, 25 Oct 2026 11:15:09 +0800 Subject: [PATCH] DONE: fix issue email redirect to localhost, move action button in user to first column, update cicd --- Modules/Auth/Notifications/VerifyEmailNotification.php | 8 -------- docker-compose.yml | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Modules/Auth/Notifications/VerifyEmailNotification.php b/Modules/Auth/Notifications/VerifyEmailNotification.php index 17aad51..1506daa 100644 --- a/Modules/Auth/Notifications/VerifyEmailNotification.php +++ b/Modules/Auth/Notifications/VerifyEmailNotification.php @@ -38,14 +38,6 @@ class VerifyEmailNotification extends Notification protected function verificationUrl(User $notifiable): string { $expireMinutes = (int) config('auth.verification.expire_minutes', 60); - $root = rtrim((string) config('app.url'), '/'); - - // Prefer APP_URL over the current request host so queued/local proxy - // contexts do not embed http://localhost in production emails. - URL::forceRootUrl($root); - if ($scheme = parse_url($root, PHP_URL_SCHEME)) { - URL::forceScheme($scheme); - } return URL::temporarySignedRoute( 'verification.verify', diff --git a/docker-compose.yml b/docker-compose.yml index 5b2aaf7..3d7caab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,11 +4,11 @@ services: # amd64 emulation avoids linux_arm + linux64 chrome-headless-shell mismatch. platform: linux/amd64 build: - context: "./vendor/laravel/sail/runtimes/8.4" + context: "./vendor/laravel/sail/runtimes/8.5" dockerfile: Dockerfile args: WWWGROUP: "${WWWGROUP}" - image: "sail-8.4/app" + image: "sail-8.5/app" extra_hosts: - "host.docker.internal:host-gateway" ports: