...
|
...
|
@@ -273,6 +273,9 @@ class RegController extends AbstractAction |
|
|
$data['data']['session'] = Helpers::syncUserSession($data['data']['uid']);
|
|
|
$data['data']['href'] = $refer;
|
|
|
|
|
|
$token = Helpers::makeToken($data['data']['uid']);
|
|
|
$this->setCookie('_TOKEN', $token);
|
|
|
$this->setSession('_TOKEN', $token);
|
|
|
} while (false);
|
|
|
|
|
|
$this->echoJson($data);
|
...
|
...
|
|