xxxxxxxxxx
// Need to increase or set client_max_body_size in your nginx config file.
http {
#...
client_max_body_size 100m;
#...
}
// Restart nginx
xxxxxxxxxx
abort(419, 'Authentication Timeout');
// OR
return redirect()->route('login')->withErrors([
'message' => 'Authentication Timeout',
]);