dembilesmana
2 months ago
925
9
Laravel

how resolve route [verification.verify] not define?

Posted 2 months ago by dembilesmana

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('/', '[email protected]')->name('home');
        Route::get('paying', '[email protected]')->name('paying');
        Route::get('profile', '[email protected]')->name('profile');
        Route::post('profile', '[email protected]')->name('profile.update');
    });
});

so I have the name of the route client::verification.verify not verification.verify

how do i resolve this?

Please sign in or create an account to participate in this conversation.