Skip to content

Commit

Permalink
fix: use userinput login (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaoNeng-wWw authored Nov 26, 2023
1 parent 52f4fd8 commit 2136e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/authenticate/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export default function Page() {
if (!isEmail && !isPhone){
Message.error("请输入邮箱或手机号")
}
UserAPI.login(email, password)
UserAPI.login(userInput, password)
.then((r) => {
let [state, text] = r;
if (state) {
Expand Down

0 comments on commit 2136e6c

Please sign in to comment.