fix email url
This commit is contained in:
parent
5d9bb28281
commit
1c97734bf6
|
|
@ -265,7 +265,7 @@ class AuthController extends Controller
|
|||
false
|
||||
);
|
||||
try {
|
||||
Mail::to($email)->send(new ForgotPassword($url));
|
||||
Mail::to($email)->send(new ForgotPassword(url($url)));
|
||||
} catch (\Exception $e) {
|
||||
report($e);
|
||||
$dispatcher->dispatch('auth.forgot.failed', [$user, $url]);
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ class UserController extends Controller
|
|||
$url = URL::signedRoute('auth.verify', ['uid' => $user->uid], null, false);
|
||||
|
||||
try {
|
||||
Mail::to($user->email)->send(new EmailVerification($url));
|
||||
Mail::to($user->email)->send(new EmailVerification(url($url)));
|
||||
} catch (\Exception $e) {
|
||||
// Write the exception to log
|
||||
report($e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user