Attendize/app/Http/Controllers/Auth/PasswordController.php

39 lines
1018 B
PHP
Raw Normal View History

2016-03-05 00:18:10 +00:00
<?php
namespace App\Http\Controllers\Auth;
2016-02-29 15:59:36 +00:00
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
2016-03-05 00:18:10 +00:00
class PasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
2016-02-29 15:59:36 +00:00
2016-03-05 00:18:10 +00:00
use ResetsPasswords;
2016-02-29 15:59:36 +00:00
2016-03-05 00:18:10 +00:00
/**
* Create a new password controller instance.
*
* @param \Illuminate\Contracts\Auth\Guard $auth
* @param \Illuminate\Contracts\Auth\PasswordBroker $passwords
*
* @return void
*/
public function __construct()
{
$this->auth = $auth;
$this->passwords = $passwords;
2016-02-29 15:59:36 +00:00
2016-03-05 00:18:10 +00:00
$this->middleware('guest');
}
2016-02-29 15:59:36 +00:00
}