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
3ada2cbd
Commit
3ada2cbd
authored
Sep 12, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed authenticator to auth and adjusted container.
parent
9db8e1bb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
container.php
laravel/config/container.php
+1
-1
auth.php
laravel/security/auth.php
+9
-9
No files found.
laravel/config/container.php
View file @
3ada2cbd
...
@@ -16,7 +16,7 @@ return array(
...
@@ -16,7 +16,7 @@ return array(
'laravel.auth'
=>
array
(
'singleton'
=>
true
,
'resolver'
=>
function
(
$container
)
'laravel.auth'
=>
array
(
'singleton'
=>
true
,
'resolver'
=>
function
(
$container
)
{
{
return
new
Security\Auth
enticator
(
$container
->
resolve
(
'laravel.config'
),
$container
->
resolve
(
'laravel.session'
));
return
new
Security\Auth
(
$container
->
resolve
(
'laravel.config'
),
$container
->
resolve
(
'laravel.session'
));
}),
}),
...
...
laravel/security/auth
enticator
.php
→
laravel/security/auth.php
View file @
3ada2cbd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
use
Laravel\Session\Driver
;
use
Laravel\Session\Driver
;
class
Auth
enticator
{
class
Auth
{
/**
/**
* The current user of the application.
* The current user of the application.
...
@@ -12,18 +12,18 @@ class Authenticator {
...
@@ -12,18 +12,18 @@ class Authenticator {
protected
$user
;
protected
$user
;
/**
/**
* The
session driver being used by the Auth
instance.
* The
configuration manager
instance.
*
*
* @var
Session\Driver
* @var
Config
*/
*/
protected
$
session
;
protected
$
config
;
/**
/**
* The
configuration manag
er instance.
* The
session driv
er instance.
*
*
* @var
Config
* @var
Session\Driver
*/
*/
protected
$
engine
;
protected
$
session
;
/**
/**
* Create a new authenticator instance.
* Create a new authenticator instance.
...
...
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