示例#1
0
 protected function login($args)
 {
     $verified = BasicAuth::verify($args['username'], $args['password']);
     if ($verified) {
         $this->redirect('home');
     }
 }