From 74cb1477bb921a2378ea22a552b71a48c11e0931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 16:34:32 +0200 Subject: Better API (integrated oauth completely) --- config/auth.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config/auth.php') 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, ], -- cgit v1.2.3