Exemplo n.º 1
0
 public function index($passwordReminder = null)
 {
     $login = new SecureSiteBase();
     $login->setFramework(new SMVC\SecureSite\Bootstrap\SecurityForms());
     $this->view('pages/landingPage', array('form' => $passwordReminder != null ? $login->loginForm(array('token' => $passwordReminder)) : $login->passwordReminderForm(), 'temp' => !isset($_POST['emailAddress']) ? '' : $login->getTempPasswordLink($_POST['emailAddress'])));
 }