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
1865c299
Commit
1865c299
authored
Dec 15, 2015
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use provider for consistent language
parent
ba857ca5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
auth.php
config/auth.php
+8
-8
No files found.
config/auth.php
View file @
1865c299
...
@@ -25,9 +25,9 @@ return [
...
@@ -25,9 +25,9 @@ return [
|
|
| Next, you may define every authentication guard for your application.
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| Of course, a great default configuration has been defined for you
| here which uses
"session" storage and the Eloquent user source
.
| here which uses
session storage and the Eloquent user provider
.
|
|
| All authentication drivers have a user
"source"
. This defines how the
| All authentication drivers have a user
provider
. This defines how the
| users are actually retrieved out of your database or other storage
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
| mechanisms used by this application to persist your user's data.
|
|
...
@@ -38,21 +38,21 @@ return [
...
@@ -38,21 +38,21 @@ return [
'guards'
=>
[
'guards'
=>
[
'web'
=>
[
'web'
=>
[
'driver'
=>
'session'
,
'driver'
=>
'session'
,
'
source
'
=>
'users'
,
'
provider
'
=>
'users'
,
],
],
'api'
=>
[
'api'
=>
[
'driver'
=>
'token'
,
'driver'
=>
'token'
,
'
source
'
=>
'users'
,
'
provider
'
=>
'users'
,
],
],
],
],
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| User
Source
s
| User
Provider
s
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| All authentication drivers have a user
"source"
. This defines how the
| All authentication drivers have a user
provider
. This defines how the
| users are actually retrieved out of your database or other storage
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
| mechanisms used by this application to persist your user's data.
|
|
...
@@ -64,7 +64,7 @@ return [
...
@@ -64,7 +64,7 @@ return [
|
|
*/
*/
'
source
s'
=>
[
'
provider
s'
=>
[
'users'
=>
[
'users'
=>
[
'driver'
=>
'eloquent'
,
'driver'
=>
'eloquent'
,
'model'
=>
App\User
::
class
,
'model'
=>
App\User
::
class
,
...
@@ -97,7 +97,7 @@ return [
...
@@ -97,7 +97,7 @@ return [
'passwords'
=>
[
'passwords'
=>
[
'users'
=>
[
'users'
=>
[
'
source
'
=>
'users'
,
'
provider
'
=>
'users'
,
'email'
=>
'emails.password'
,
'email'
=>
'emails.password'
,
'table'
=>
'password_resets'
,
'table'
=>
'password_resets'
,
'expire'
=>
60
,
'expire'
=>
60
,
...
...
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