Update src/ui/main-axios.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Karmaa
2025-10-07 19:58:33 -05:00
committed by GitHub
parent 37a2f7013d
commit 11ac64ccf7

View File

@@ -1763,7 +1763,7 @@ export async function updateRegistrationAllowed(
export async function updatePasswordLoginAllowed(
allowed: boolean,
): Promise<any> {
): Promise<{ allowed: boolean }> {
try {
const response = await authApi.patch("/users/password-login-allowed", {
allowed,