public function postDefault() { if (RequestApp::auth($_POST['username'], $_POST['password'])) { $this->redirect('list'); } else { die('authentication failed'); } }
public function postDefault() { if (RequestApp::auth($_POST['username'], $_POST['password'])) { $this->redirect('list'); } }