...
|
...
|
@@ -188,6 +188,7 @@ class LoginController extends AbstractAction |
|
|
}
|
|
|
|
|
|
if ($result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->setSession('_TOKEN', Helpers::makeToken($data['data']['uid']));
|
|
|
$this->go(Helpers::syncUserSession($result['data']['uid'], $refer));
|
|
|
} else {
|
|
|
$this->go($refer);
|
...
|
...
|
@@ -217,6 +218,7 @@ class LoginController extends AbstractAction |
|
|
}
|
|
|
|
|
|
if ($result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->setSession('_TOKEN', Helpers::makeToken($data['data']['uid']));
|
|
|
$this->go(Helpers::syncUserSession($result['data']['uid'], $refer));
|
|
|
} else {
|
|
|
$this->go($refer);
|
...
|
...
|
@@ -246,6 +248,7 @@ class LoginController extends AbstractAction |
|
|
}
|
|
|
|
|
|
if ($result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->setSession('_TOKEN', Helpers::makeToken($data['data']['uid']));
|
|
|
$this->go(Helpers::syncUserSession($result['data']['uid'], $refer));
|
|
|
} else {
|
|
|
$this->go($refer);
|
...
|
...
|
|