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