Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
b0160f5e
Commit
b0160f5e
authored
Dec 03, 2015
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update defaults
parent
08983818
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
config/auth.php
+16
-12
No files found.
config/auth.php
View file @
b0160f5e
...
...
@@ -11,7 +11,7 @@ return [
| Of course, a default and working configuration is already defined
| here but you are free to define additional drivers when needed.
|
| The "
guard" option defines the default driver that will be used when
| The "
default_guard" option is the default driver which is used while
| utilizing the "Auth" facade within your application. But, you may
| access every other auth driver via the facade's "guard" method.
|
...
...
@@ -23,13 +23,17 @@ return [
|
*/
'
guard'
=>
'app
'
,
'
default_guard'
=>
'web
'
,
'guards'
=>
[
'
app
'
=>
[
'
web
'
=>
[
'driver'
=>
'session'
,
'provider'
=>
'eloquent'
,
],
// 'api' => [
// ],
],
/*
...
...
@@ -39,7 +43,7 @@ return [
|
| All authentication drivers have a "provider". A provider defines how
| users are actually retrieved out of the database or other storage
| mechanism
used by your
application to persist your user's data.
| mechanism
s used by the
application to persist your user's data.
|
| Supported: "database", "eloquent"
|
...
...
@@ -51,22 +55,22 @@ return [
'model'
=>
App\User
::
class
,
],
'database'
=>
[
'driver'
=>
'database'
,
'table'
=>
'users'
,
],
//
'database' => [
//
'driver' => 'database',
//
'table' => 'users',
//
],
],
/*
|--------------------------------------------------------------------------
| Password Reset
Setting
s
| Password Resets
|--------------------------------------------------------------------------
|
| Here you may set the options for resetting passwords including the view
| that is your password reset e-mail. You can also set the name of the
| table that maintains all of the reset tokens for your application.
|
| Of course, you may define multiple password
"brokers"
each with a their
| Of course, you may define multiple password
resetters
each with a their
| own storage settings and user providers. However, for most apps this
| default configuration of using Eloquent is perfect out of the box.
|
...
...
@@ -76,9 +80,9 @@ return [
|
*/
'
brok
er'
=>
'default'
,
'
default_resett
er'
=>
'default'
,
'
brok
ers'
=>
[
'
resett
ers'
=>
[
'default'
=>
[
'provider'
=>
'eloquent'
,
'email'
=>
'emails.password'
,
...
...
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