Support login with email

This commit is contained in:
2023-12-20 14:55:15 +08:00
parent 4d072e0de8
commit 73bfe53edc
5 changed files with 13 additions and 13 deletions

View File

@@ -65,8 +65,8 @@ export const getCaptcha = (width: number, high: number, num: number) => {
}
}
export const login = async (username: string, password: string) => {
return await r_auth_login(username, password)
export const login = async (account: string, password: string) => {
return await r_auth_login(account, password)
}
export const logout = async () => {