...
|
...
|
@@ -141,6 +141,7 @@ class User extends Frontend |
|
|
$token = $this->auth->getToken();
|
|
|
session('token',$token);
|
|
|
Cookie::set('token',$token);
|
|
|
session('user',$result);
|
|
|
$this->success('SUCCESS','',['target_url'=>rawurldecode($target_url)]);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -193,6 +194,7 @@ class User extends Frontend |
|
|
$token = $this->auth->getToken();
|
|
|
session('token',$token);
|
|
|
Cookie::set('token',$token);
|
|
|
session('user',$result1);
|
|
|
$this->success('SUCCESS');
|
|
|
}
|
|
|
|
...
|
...
|
|