PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Reset email missing APP_URL as part of the reset link

Solved
alexmorning

Jul 4th, 2023 10:06 PM

My reset links are being sent like this, without my base url. It's also using http and not https, as my app_url denotes (my side loads properly with https as well).

http://password/reset/{token}?email={email}

All my code for this is intact from doing my initial wave install

return env('APP_URL').'/password/reset/'.$token.'?email='.$user->email;

and my APP_URL in my env file is correct:

APP_URL=https://myurl.com

Any ideas?

superdev

Jul 5th, 2023 04:20 PM

Could you publish your changed email files and report back?

yudifaturohman198

Jul 14th, 2023 05:43 PM

Best Answer

I made a password reset with notification by email, like this :

$url = url('/reset-password/user/'.$this->token);
return (new MailMessage)
       ->subject('Subject Mail')
       ->line('Description Mail.')
       ->action('Button Reset Password', url($url));
Report
2