Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120824566
Authenticate.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None
Authenticate.php
View Options
<?php
namespace
App\Http\Middleware
;
use
Illuminate\Auth\Middleware\Authenticate
as
Middleware
;
class
Authenticate
extends
Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*
* @param \Illuminate\Http\Request $request
*
* @return string
*/
protected
function
redirectTo
(
$request
)
{
if
(!
$request
->
expectsJson
())
{
return
route
(
'login'
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 10:24 AM (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18889534
Default Alt Text
Authenticate.php (469 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline