You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function sendLoginLink()
{
$user = User::find(2);
$generator = new LoginUrl($user);
$generator->setRedirectUrl('/home'); // Override the default url to redirect to after login
return $generator->generate();
}
Hi,
thanks for your package.
It works very well on my localhost...
this is my function on Controller
which returns this link
http://127.0.0.1:8000/magic-login/2?expires=1615255572&redirect_to=%2Fhome&user_type=app-user&signature=a6255a266fd1568108f5309876aeb8fc416204b1088bb379c050558bde834f81
On live production I got this error:
Symfony\Component\Routing\Exception\RouteNotFoundException Route [] not defined.
I made a few attempts and realized that the error is generated by $generator->generate();
I don't understand why..
The text was updated successfully, but these errors were encountered: