Commit ba641801 authored by liuqiao's avatar liuqiao

弱密码

parent 12171973
......@@ -63,10 +63,9 @@ class MY_Controller extends CI_Controller
} */
// 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面
var_dump($this->session->userdata('zsb_user_weak_password') && strpos($_SERVER['REQUEST_URI'],'ucenter_information/edit_password') === false
&& strpos($_SERVER['REQUEST_URI'],'login/quit') === false);
if ($this->session->userdata('zsb_user_weak_password') && strpos($_SERVER['REQUEST_URI'],'ucenter_information/edit_password') === false
&& strpos($_SERVER['REQUEST_URI'],'login/quit') === false) {
echo 1;
header("Location: /ucenter_information/edit_password");
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment