up
Mar 27, 2020
14
Level 1
how resolve route [verification.verify] not define?
how to change route verification.verify value in laravel?
protected function verificationUrl($notifiable)
{
return URL::temporarySignedRoute(
'verification.verify', // Change this in laravel?
Carbon::now()->addMinutes(Config::get('auth.verification.expire', 60)),
[
'id' => $notifiable->getKey(),
'hash' => sha1($notifiable->getEmailForVerification()),
]
);
}
because my route is like this:
Route::domain(config('app.client'))->namespace('client')->name('client::')->group(function () {
Auth::routes(['verify' => true]);
Route::middleware(['auth:client', 'verified'])->group(function () {
Route::get('/', 'HomeController@index')->name('home');
Route::get('paying', 'PayingController@index')->name('paying');
Route::get('profile', 'ProfileController@index')->name('profile');
Route::post('profile', 'ProfileController@update')->name('profile.update');
});
});
so I have the name of the route client::verification.verify not verification.verify
how do i resolve this?
Please or to participate in this conversation.