If unauthenticated user tries to post comment, I can catch it in Comments controller and send him to login page.
if(!Auth::user())
{
return redirect()->guest('login');
}
But after successful login I want the comment to be automatically posted and returned to article page.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire