Commit 9f07527d authored by liuqiao's avatar liuqiao

弱密码

parent b37df3ec
...@@ -63,6 +63,7 @@ class MY_Controller extends CI_Controller ...@@ -63,6 +63,7 @@ class MY_Controller extends CI_Controller
} */ } */
// 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面 // 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面
print_r($_SERVER);exit;
if ($this->session->userdata('zsb_user_weak_password') && ($_SERVER['REQUEST_URI'] != '/ucenter_information/edit_password/' && $_SERVER['REQUEST_URI'] != '/login/quit/')) { if ($this->session->userdata('zsb_user_weak_password') && ($_SERVER['REQUEST_URI'] != '/ucenter_information/edit_password/' && $_SERVER['REQUEST_URI'] != '/login/quit/')) {
header("Location: /ucenter_information/edit_password"); header("Location: /ucenter_information/edit_password");
exit; 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