Answer the question
In order to leave comments, you need to log in
Laravel how does temporarySignedRoute work?
Hello! I would like to know how a link like this works:
test/email/verify/19?expires=1586985879&hash=8026c...
protected function verificationUrl($notifiable)
{
return URL::temporarySignedRoute(
'verification.verify',
Carbon::now()->addMinutes(Config::get('auth.verification.expire', 60)),
[
'id' => $notifiable->getKey(),
'hash' => sha1($notifiable->getEmailForVerification()),
]
);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question