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
7e5e8854
Commit
7e5e8854
authored
Mar 23, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弱密码
parent
5e292c7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MY_Controller.php
new_admincp/applications/zsb/core/MY_Controller.php
+4
-4
No files found.
new_admincp/applications/zsb/core/MY_Controller.php
View file @
7e5e8854
...
...
@@ -63,10 +63,10 @@ class MY_Controller extends CI_Controller
} */
// 弱密码,并且当前请求不是修改密码或退出则跳转到修改密码页面
//
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");
//
exit;
//
}
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"
);
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