示例#1
0
文件: login.php 项目: smith46102/koda
 private function signOut()
 {
     if (User::signOut()) {
         Response::redirect('/login');
     }
     return true;
 }
示例#2
0
文件: page.php 项目: smith46102/koda
 public function init()
 {
     if (!User::$signed) {
         Response::redirect('/login');
     }
     return true;
 }