示例#1
0
文件: Auth.php 项目: jackycgq/bzfshop
 /**
  * 清除用户的登陆状态,用户算是退出了
  *
  * */
 public static function removeAuthUser()
 {
     global $f3;
     $f3->clear('SESSION.' . Auth::getUniqueKey());
     setcookie(Auth::$cookieAuthKey, null, 0, $f3->get('BASE') . '/', Route::getCookieDomain());
 }