Browse Source

Update forgot mail template, urlencode email

Daniel Supernault 1 year ago
parent
commit
efe8e89046
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/emails/forgot-email/message.blade.php

+ 1 - 1
resources/views/emails/forgot-email/message.blade.php

@@ -5,7 +5,7 @@ You recently requested to know the email address associated with your username [
 
 
 We're here to assist! Simply tap on the Login button below.
 We're here to assist! Simply tap on the Login button below.
 
 
-<x-mail::button :url="url('/login?email=' . $user->email)" color="success">
+<x-mail::button :url="url('/login?email=' . urlencode($user->email))" color="success">
 Login to my <strong>{{'@' . $user->username}}</strong> account
 Login to my <strong>{{'@' . $user->username}}</strong> account
 </x-mail::button>
 </x-mail::button>