Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson18-diy3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
28653e07
authored
a year ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
e4754e0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
my_app.py
my_app.py
View file @
28653e07
...
@@ -39,6 +39,7 @@ def login(): # 登录验证
...
@@ -39,6 +39,7 @@ def login(): # 登录验证
pwu
=
user
.
get
(
name
)
pwu
=
user
.
get
(
name
)
if
pwu
==
password
:
if
pwu
==
password
:
messagebox
.
showinfo
(
"提示"
,
"已登录成功"
)
messagebox
.
showinfo
(
"提示"
,
"已登录成功"
)
else
:
else
:
messagebox
.
showerror
(
"错误"
,
"密码或用户名不存在或不一致"
)
messagebox
.
showerror
(
"错误"
,
"密码或用户名不存在或不一致"
)
...
...
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