mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Login.php
This commit is contained in:
parent
f5e65f3035
commit
7d5b6fa3ea
@ -97,7 +97,6 @@ class Login extends Controller
|
|||||||
*/
|
*/
|
||||||
public function out()
|
public function out()
|
||||||
{
|
{
|
||||||
if ($_SESSION) $_SESSION = [];
|
|
||||||
[session_unset(), session_destroy()];
|
[session_unset(), session_destroy()];
|
||||||
$this->success('退出登录成功!', url('@admin/login'));
|
$this->success('退出登录成功!', url('@admin/login'));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user