aauth = new Aauth();
$this->request = Services::request();
helper('form');
}
/**
* Index
*
* @return void
*/
public function index()
{
if ($input = $this->request->getPost())
{
if (! $this->aauth->remindPassword($input['email']))
{
$data['errors'] = $this->aauth->printErrors('
', true);
}
else
{
$data['infos'] = $this->aauth->printInfos('
', true);
}
}
$data['cssFiles'] = [
'/assets/css/login.css'
];
echo view('Account/RemindPassword', $data);
}
}