Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kpt
2024-07-03 20:43:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e49fc0e5179463589e4a113d7d6d8babc0408016
e49fc0e5
1 parent
afd50ff3
【user.py】删除后端注册过程中的确认密码逻辑,确认密码在前端完成
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
views/user/user.py
views/user/user.py
View file @
e49fc0e
...
...
@@ -36,8 +36,6 @@ def register():
if
request
.
method
==
'GET'
:
return
render_template
(
'register.html'
)
else
:
if
request
.
form
[
'password'
]
!=
request
.
form
[
'checkPassword'
]:
return
errorResponse
(
'两次密码不符合'
)
def
filter_fn
(
user
):
return
request
.
form
[
'username'
]
in
user
...
...
Please
register
or
login
to post a comment