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