REMEMBERING USERS
Jun 29, 2024 Copy Link
If your application offers "remember me" functionality, you may use the viaRemember
method to determine if the currently authenticated user was authenticated using the "remember me" cookie:
use Illuminate\Support\Facades\Auth;
if (Auth::guard('web')->viaRemember()) {
// ...
}