Kullanıcı kayıt olduktan sonra, kullanıcının kayıtlarını yeniden göndermek için kullanabileceği bir bağlantı sağlamalıyım.Kayıt jetonu nasıl alınır?
Bağlantıda bir belirteci geçmem gerektiğinden, bu belirteci nasıl oluştururum?
return redirect()->route('frontend.index')->withFlashSuccess(trans('exceptions.frontend.auth.confirmation.resend'));
nasıl Trans jetonu geçerdi
: Yanipublic function register(RegisterRequest $request)
{
if (config('access.users.confirm_email')) {
$user = $this->user->create($request->all());
event(new UserRegistered($user));
return redirect()->route('frontend.index')->withFlashSuccess(trans('exceptions.frontend.auth.confirmation.resend'));
} else {
auth()->login($this->user->create($request->all()));
event(new UserRegistered(access()->user()));
return redirect($this->redirectPath());
}
}
RegistersUsers
da
ex: http://dmain.com/account/confirm/resend/:token
, bağlantı oluşturulur?
'resend' => 'Your account is not confirmed. Please click the confirmation link in your e-mail, or <a href="' . route('account.confirm.resend', ':token') . '">click here</a> to resend the confirmation e-mail.',
'csrf_token()' fonksiyonu: –