...
|
...
|
@@ -108,7 +108,7 @@ class Index extends Backend |
|
|
$this->view->assign('title', __('Login'));
|
|
|
Hook::listen("admin_login_init", $this->request);
|
|
|
|
|
|
$token = session('token');
|
|
|
$token = cookie('token');
|
|
|
dump($token);
|
|
|
if(!empty($token)){
|
|
|
$user_id = Db::name('user_token')->where(['token'=>$token])->value('user_id');
|
...
|
...
|
|