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
dee623fe
Commit
dee623fe
authored
Mar 23, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-lq-04' into release_preview
parents
c6316842
51bfb390
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
config.php
new_admincp/applications/zsb/config/config.php
+1
-1
MY_Controller.php
new_admincp/applications/zsb/core/MY_Controller.php
+4
-4
No files found.
new_admincp/applications/zsb/config/config.php
View file @
dee623fe
...
...
@@ -445,7 +445,7 @@ $config['left_menu']['house_manage'] = array(
);
$config
[
'left_menu'
][
'ucenter'
]
=
array
(
'ucenter/my_growth'
,
array
(
'ucenter/my_information
/index
'
,
'ucenter/edit_password'
),
array
(
'ucenter/my_information'
,
'ucenter/edit_password'
),
'ucenter/my_history'
,
array
(
'ucenter/my_message_list'
,
'ucenter/my_message_detail'
),
array
(
'loan_index'
,
'loan_record'
),
...
...
new_admincp/applications/zsb/core/MY_Controller.php
View file @
dee623fe
...
...
@@ -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