diff --git a/src/ui/main-axios.ts b/src/ui/main-axios.ts index 7622c83d..4bdb4514 100644 --- a/src/ui/main-axios.ts +++ b/src/ui/main-axios.ts @@ -1763,7 +1763,7 @@ export async function updateRegistrationAllowed( export async function updatePasswordLoginAllowed( allowed: boolean, -): Promise { +): Promise<{ allowed: boolean }> { try { const response = await authApi.patch("/users/password-login-allowed", { allowed,