aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/auth.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 16:34:32 +0200
committerMarvin Borner2018-07-20 16:34:32 +0200
commit74cb1477bb921a2378ea22a552b71a48c11e0931 (patch)
tree621ab17315be667c16dad8f3d5f44d67a7a47e8f /config/auth.php
parent400591b34d4b0a6288834539808a9dede8a60e3a (diff)
Better API (integrated oauth completely)
Diffstat (limited to 'config/auth.php')
-rw-r--r--config/auth.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/config/auth.php b/config/auth.php
index f8a1194..34d7c33 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -14,7 +14,7 @@ return [
*/
'defaults' => [
- 'guard' => 'web',
+ 'guard' => 'api',
'passwords' => 'users',
],
@@ -67,7 +67,7 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
- 'model' => App\User::class,
+ 'model' => Api\Users\Models\User::class,
],
// 'users' => [
@@ -81,6 +81,10 @@ return [
| Resetting Passwords
|--------------------------------------------------------------------------
|
+ | Here you may set the options for resetting passwords including the view
+ | that is your password reset e-mail. You may also set the name of the
+ | table that maintains all of the reset tokens for your application.
+ |
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
@@ -94,6 +98,7 @@ return [
'passwords' => [
'users' => [
'provider' => 'users',
+ 'email' => 'auth.emails.password',
'table' => 'password_resets',
'expire' => 60,
],