for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\UsersModule\Http\Controller;
use Anomaly\Streams\Platform\Http\Controller\PublicController;
use Illuminate\Contracts\Encryption\Encrypter;
/**
* Class PasswordController
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
*/
class PasswordController extends PublicController
{
* Constructor
public function __construct()
$this->middleware('auth')->only('change');
parent::__construct();
}
* Return a forgot password view.
public function forgot()
return $this->view->make('anomaly.module.users::password/forgot');
* Reset a user password.
* @return \Illuminate\Contracts\View\View|mixed
public function reset()
return $this->view->make('anomaly.module.users::password/reset');
* Change a logged-user password.
public function change()
return $this->view->make('anomaly.module.users::password/change');