Answer the question
In order to leave comments, you need to log in
Why does an equal sign appear when sending a password reset link in laravel mail?
On the local machine, a letter arrives with an equal sign ( = ), which is unclear where it comes from.
Letter example:
laravel.loc/account/recover/xS7H4MONeTMVBbTgIS2bbQ...
leywLxcG8QQqFEy7NEkO
Mail::send('emails.auth.forgot',
array(
'link' => URL::route('account-recover', $code),
'username' => $user->username,
'password' => $password
),
function($message) use ($user) {
$message->to( $user->email, $user->username )->subject('Ваш новый пароль');
});
Answer the question
In order to leave comments, you need to log in
And does the link work?
How is $code formed?
What does route 'account-recover' look like?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question