...
|
...
|
@@ -37,7 +37,7 @@ class LoginController extends HomeBaseController |
|
|
}
|
|
|
session('login_http_referer', $redirect);
|
|
|
if (cmf_is_user_login()) { //已经登录时直接跳到首页
|
|
|
return redirect($this->request->root() . '/');
|
|
|
return redirect(url('user/Login/chooseAge'));
|
|
|
} else {
|
|
|
return $this->fetch(":login");
|
|
|
}
|
...
|
...
|
@@ -136,7 +136,7 @@ class LoginController extends HomeBaseController |
|
|
// return redirect($this->request->root() . '/');
|
|
|
// }
|
|
|
} else {
|
|
|
return redirect($this->request->root() . '/');
|
|
|
return redirect(url('user/Login/index'));
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|