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