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