public function resend () {
if (request()->user()->hasVerifiedEmail()) {
return response()->json([
'message' => 'Your account is already activated!'
], 204);
}
request()->user()->sendEmailVerificationNotification();
return response()->json([
'message' => 'Activation link has been sent to your email.'
], 204);
}
Responses after sendEmailVerificationNotification
are never called, anyone know why?
This is within VerificationController
from builtin auth module.
question from:
https://stackoverflow.com/questions/65541128/laravel-verify-email-responses 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…