Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
4ec4fb87
Commit
4ec4fb87
authored
Mar 26, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弱密码
parent
fb94b255
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
MY_Controller.php
new_admincp/applications/zsb/core/MY_Controller.php
+6
-6
No files found.
new_admincp/applications/zsb/core/MY_Controller.php
View file @
4ec4fb87
...
...
@@ -63,12 +63,12 @@ class MY_Controller extends CI_Controller
} */
// 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面
//
if ($this->session->userdata('zsb_user_weak_password') && strpos($_SERVER['REQUEST_URI'],'ucenter_information/edit_password') === false
//
&& strpos($_SERVER['REQUEST_URI'],'login') === false
//
&& strpos($_SERVER['REQUEST_URI'],'action=getAttentionNumber') === false) {
//
header("Location: /ucenter_information/edit_password");
//
exit;
//
}
if
(
$this
->
session
->
userdata
(
'zsb_user_weak_password'
)
&&
strpos
(
$_SERVER
[
'REQUEST_URI'
],
'ucenter_information/edit_password'
)
===
false
&&
strpos
(
$_SERVER
[
'REQUEST_URI'
],
'login'
)
===
false
&&
strpos
(
$_SERVER
[
'REQUEST_URI'
],
'action=getAttentionNumber'
)
===
false
)
{
header
(
"Location: /ucenter_information/edit_password"
);
exit
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment