Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
75393db9
Commit
75393db9
authored
Oct 13, 2014
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename a few things.
parent
57bad0a3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
20 deletions
+20
-20
AuthController.php
app/Http/Controllers/Auth/AuthController.php
+5
-5
AuthMiddleware.php
app/Http/Middleware/AuthMiddleware.php
+5
-5
BasicAuthMiddleware.php
app/Http/Middleware/BasicAuthMiddleware.php
+5
-5
GuestMiddleware.php
app/Http/Middleware/GuestMiddleware.php
+5
-5
No files found.
app/Http/Controllers/Auth/AuthController.php
View file @
75393db9
<?php
namespace
App\Http\Controllers\Auth
;
use
Illuminate\Contracts\Auth\
Authenticator
;
use
Illuminate\Contracts\Auth\
Guard
;
use
App\Http\Requests\Auth\LoginRequest
;
use
App\Http\Requests\Auth\RegisterRequest
;
...
...
@@ -12,19 +12,19 @@ use App\Http\Requests\Auth\RegisterRequest;
class
AuthController
{
/**
* The
authenticator
implementation.
* The
Guard
implementation.
*
* @var
Authenticator
* @var
Guard
*/
protected
$auth
;
/**
* Create a new authentication controller instance.
*
* @param
Authenticator
$auth
* @param
Guard
$auth
* @return void
*/
public
function
__construct
(
Authenticator
$auth
)
public
function
__construct
(
Guard
$auth
)
{
$this
->
auth
=
$auth
;
}
...
...
app/Http/Middleware/AuthMiddleware.php
View file @
75393db9
<?php
namespace
App\Http\Middleware
;
use
Closure
;
use
Illuminate\Contracts\Auth\
Authenticator
;
use
Illuminate\Contracts\Auth\
Guard
;
use
Illuminate\Contracts\Routing\Middleware
;
use
Illuminate\Contracts\Routing\ResponseFactory
;
class
AuthMiddleware
implements
Middleware
{
/**
* The
authenticator
implementation.
* The
Guard
implementation.
*
* @var
Authenticator
* @var
Guard
*/
protected
$auth
;
...
...
@@ -24,11 +24,11 @@ class AuthMiddleware implements Middleware {
/**
* Create a new filter instance.
*
* @param
Authenticator
$auth
* @param
Guard
$auth
* @param ResponseFactory $response
* @return void
*/
public
function
__construct
(
Authenticator
$auth
,
public
function
__construct
(
Guard
$auth
,
ResponseFactory
$response
)
{
$this
->
auth
=
$auth
;
...
...
app/Http/Middleware/BasicAuthMiddleware.php
View file @
75393db9
<?php
namespace
App\Http\Middleware
;
use
Closure
;
use
Illuminate\Contracts\Auth\Guard
;
use
Illuminate\Contracts\Routing\Middleware
;
use
Illuminate\Contracts\Auth\Authenticator
;
class
BasicAuthMiddleware
implements
Middleware
{
/**
* The
authenticator
implementation.
* The
Guard
implementation.
*
* @var
Authenticator
* @var
Guard
*/
protected
$auth
;
/**
* Create a new filter instance.
*
* @param
Authenticator
$auth
* @param
Guard
$auth
* @return void
*/
public
function
__construct
(
Authenticator
$auth
)
public
function
__construct
(
Guard
$auth
)
{
$this
->
auth
=
$auth
;
}
...
...
app/Http/Middleware/GuestMiddleware.php
View file @
75393db9
<?php
namespace
App\Http\Middleware
;
use
Closure
;
use
Illuminate\Contracts\Auth\Guard
;
use
Illuminate\Http\RedirectResponse
;
use
Illuminate\Contracts\Auth\Authenticator
;
use
Illuminate\Contracts\Routing\Middleware
;
class
GuestMiddleware
implements
Middleware
{
/**
* The
authenticator
implementation.
* The
Guard
implementation.
*
* @var
Authenticator
* @var
Guard
*/
protected
$auth
;
/**
* Create a new filter instance.
*
* @param
Authenticator
$auth
* @param
Guard
$auth
* @return void
*/
public
function
__construct
(
Authenticator
$auth
)
public
function
__construct
(
Guard
$auth
)
{
$this
->
auth
=
$auth
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment