ui remove spot login query
This commit is contained in:
parent
d45a06c136
commit
98e18990d9
2 changed files with 2 additions and 2 deletions
|
|
@ -168,7 +168,7 @@ export const downgradeScope = () => ({
|
|||
|
||||
export const login = (params) => ({
|
||||
types: LOGIN.toArray(),
|
||||
call: (client) => client.post('/login?spot=true', params),
|
||||
call: (client) => client.post('/login', params),
|
||||
});
|
||||
|
||||
export const loadingLogin = () => ({
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import BaseService from "./BaseService";
|
|||
|
||||
export default class LoginService extends BaseService {
|
||||
public async login({ email, password, captchaResponse }: { email: string, password: string, captchaResponse?: string }) {
|
||||
return this.client.post('/login?spot=true', {
|
||||
return this.client.post('/login', {
|
||||
email: email.trim(),
|
||||
password,
|
||||
'g-recaptcha-response': captchaResponse,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue