35 lines
695 B
PHP
35 lines
695 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers\Auth;
|
||
|
|
||
|
use App\Facade\Theme;
|
||
|
use App\Http\Controllers\Controller;
|
||
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
||
|
use Illuminate\Http\Request;
|
||
|
|
||
|
class ChangePasswordController extends Controller
|
||
|
{
|
||
|
use ResetsPasswords;
|
||
|
|
||
|
/**
|
||
|
* Where to redirect users after a password reset.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $redirectTo = '/';
|
||
|
|
||
|
/**
|
||
|
* Create a new controller instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
$this->middleware('auth');
|
||
|
}
|
||
|
|
||
|
public function showChangePasswordForm(Request $request)
|
||
|
{
|
||
|
return Theme::render('auth.passwords.change_password');
|
||
|
}
|
||
|
}
|