phpvms/app/Http/Controllers/Auth/ResetPasswordController.php
2018-02-20 22:33:09 -06:00

36 lines
784 B
PHP
Executable File

<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
use Illuminate\Http\Request;
class ResetPasswordController extends Controller
{
protected $redirectTo = '/login';
use ResetsPasswords;
/**
* @param Request $request
* @param null $token
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function showResetForm(Request $request, $token = null)
{
return $this->view('auth.passwords.reset',
['token' => $token, 'email' => $request->email]
);
}
/**
* Create a new controller instance.
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}