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