Support login with email
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { URL_LOGIN, URL_LOGOUT } from '@/constants/urls.constants'
|
||||
import request from '@/services'
|
||||
|
||||
export const r_auth_login = (username: string, password: string) =>
|
||||
export const r_auth_login = (account: string, password: string) =>
|
||||
request.post<TokenVo>(URL_LOGIN, {
|
||||
username,
|
||||
account,
|
||||
password
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user