Question : php if logged in show content
Answered by : adam-4zcxj3s7oreq
<?php
use Illuminate\Support\Facades\Auth;
public function login(Request $request)
{ if (Auth::check()){ return redirect()->route(// the route to your view) }
}
Source : | Last Update : Tue, 04 Oct 22