...
|
...
|
@@ -232,6 +232,10 @@ class LoginController extends AbstractAction |
|
|
$refer = rawurldecode($refer);
|
|
|
}
|
|
|
|
|
|
if (stripos($refer, 'login') !== false || stripos($refer, 'signin') !== false) {
|
|
|
$refer = SITE_MAIN . '/home';
|
|
|
}
|
|
|
|
|
|
if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->syncUserSession($result['data']['uid']);
|
|
|
}
|
...
|
...
|
@@ -266,6 +270,10 @@ class LoginController extends AbstractAction |
|
|
$refer = rawurldecode($refer);
|
|
|
}
|
|
|
|
|
|
if (stripos($refer, 'login') !== false || stripos($refer, 'signin') !== false) {
|
|
|
$refer = SITE_MAIN . '/home';
|
|
|
}
|
|
|
|
|
|
if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->syncUserSession($result['data']['uid']);
|
|
|
}
|
...
|
...
|
@@ -300,6 +308,10 @@ class LoginController extends AbstractAction |
|
|
$refer = rawurldecode($refer);
|
|
|
}
|
|
|
|
|
|
if (stripos($refer, 'login') !== false || stripos($refer, 'signin') !== false) {
|
|
|
$refer = SITE_MAIN . '/home';
|
|
|
}
|
|
|
|
|
|
if (isset($result['code']) && $result['code'] == 200 && !empty($result['data']['uid'])) {
|
|
|
$this->syncUserSession($result['data']['uid']);
|
|
|
}
|
...
|
...
|
|