登录验证码去除

This commit is contained in:
禺狨
2023-07-03 15:29:31 +08:00
parent aaa4a1f1fb
commit 64187eb2f6
3 changed files with 3 additions and 66 deletions

View File

@@ -1,16 +1,9 @@
import client from "./internal/httpClient";
export function login(
email: string,
password: string,
captchaKey: string,
captchaVal: string
) {
export function login(email: string, password: string) {
return client.post("/api/v1/auth/login/password", {
email: email,
password: password,
captcha_key: captchaKey,
captcha_val: captchaVal,
});
}