Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
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
hlcm
leaf-hlcm
Commits
2396c515
Commit
2396c515
authored
Jan 16, 2025
by
panhong18943
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增登录密码过期
parent
446f72be
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
259 additions
and
12 deletions
+259
-12
password_expired_update.lwm
...in/webapp/WEB-INF/classes/sys/password_expired_update.lwm
+33
-0
sys_user_login_with_userid.lwm
...webapp/WEB-INF/classes/sys/sys_user_login_with_userid.lwm
+21
-0
login.html
src/main/webapp/WEB-INF/view/login.html
+205
-12
No files found.
src/main/webapp/WEB-INF/classes/sys/password_expired_update.lwm
0 → 100644
View file @
2396c515
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:parameters>
<bm:parameter
name=
"password_session_id"
dataType=
"java.lang.String"
input=
"false"
output=
"true"
outputPath=
"/parameter/@password_session_id"
/>
</bm:parameters>
<bm:update-sql>
<![CDATA[
begin
sys_user_pkg.check_password_by_owner(
p_user_name =>
${@user_name},
p_old_password => ${@current_password},
p_new_password => ${@update_password},
p_ip_address => ${/request/@address},
p_password_session_id =>${@password_session_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
sys_user_pkg.change_password_by_owner(
p_user_name =>
${@user_name},
p_old_password => ${@current_password},
p_new_password => ${@update_password},
p_ip_address => ${/request/@address}
);
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/sys/sys_user_login_with_userid.lwm
0 → 100644
View file @
2396c515
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:parameters>
<bm:parameter
name=
"user_name"
dataType=
"java.lang.String"
input=
"true"
output=
"false"
/>
<bm:parameter
name=
"encryted_session_id"
dataType=
"java.lang.String"
input=
"false"
output=
"true"
outputPath=
"/parameter/@encryted_session_id"
/>
<bm:parameter
name=
"message"
dataType=
"java.lang.String"
input=
"false"
output=
"true"
outputPath=
"/parameter/@message"
/>
</bm:parameters>
<bm:update-sql>
<![CDATA[
begin
sys_login_pkg.expired_password(
p_user_name =>
${@user_name},
p_encryted_session_id =>${@encryted_session_id},
p_error_message =>${@message}
);
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/view/login.html
View file @
2396c515
This diff is collapsed.
Click to expand it.
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