Closed JannieT closed 7 years ago
Our project needs password reset functionality, so we hope you can accept this PR soon. Resolves issue #11
There are no tests for you to easily verify the behaviour, so I include our config/auth.php
<?php return [ 'multi' => [ 'user' => [ 'driver' => 'eloquent', 'model' => App\User::class, 'table' => 'users' ], 'admin' => [ 'driver' => 'eloquent', 'model' => App\Mentor::class, 'table' => 'mentors' ] ], 'password' => [ 'email' => 'emails.password', 'table' => 'password_resets', 'expire' => 60, ], ];
And our controller
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Sarav\Multiauth\Foundation\ResetsPasswords; class PasswordController extends Controller { use ResetsPasswords; protected $subject; protected $redirectPath = '/dashboard'; public function __construct() { $this->subject = trans('passwords.subject'); $this->user = "user"; } }
Our project needs password reset functionality, so we hope you can accept this PR soon. Resolves issue #11
There are no tests for you to easily verify the behaviour, so I include our config/auth.php
And our controller