ui remove spot login query

This commit is contained in:
nick-delirium 2024-09-09 09:48:26 +02:00
parent d45a06c136
commit 98e18990d9
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
2 changed files with 2 additions and 2 deletions

View file

@ -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 = () => ({

View file

@ -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,