mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
Update queries.tsx
This commit is contained in:
@@ -44,7 +44,7 @@ export const login2 = async (loginDetails: Login2DTO) => {
|
|||||||
export const loginLDAPRedirect = async (loginLDAPDetails: LoginLDAPDTO) => {
|
export const loginLDAPRedirect = async (loginLDAPDetails: LoginLDAPDTO) => {
|
||||||
const { data } = await apiRequest.post<LoginLDAPRes>("/api/v1/ldap/login", loginLDAPDetails); // return if account is complete or not + provider auth token
|
const { data } = await apiRequest.post<LoginLDAPRes>("/api/v1/ldap/login", loginLDAPDetails); // return if account is complete or not + provider auth token
|
||||||
return data;
|
return data;
|
||||||
}
|
};
|
||||||
|
|
||||||
export const useLogin1 = () => {
|
export const useLogin1 = () => {
|
||||||
return useMutation({
|
return useMutation({
|
||||||
|
|||||||
Reference in New Issue
Block a user