From a78817e0058786efef02024bd44626946969f457 Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期二, 10 六月 2025 23:43:22 +0800
Subject: [PATCH] 1

---
 src/api/user.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/api/user.js b/src/api/user.js
index db48115..2ca0861 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -18,7 +18,7 @@
       tenantId,
       username,
       password,
-      grant_type: website.captchaMode ? 'captcha' : 'password',
+      grant_type: website.captchaMode ? 'password' : 'captcha',
       scope: 'all',
       type,
     },

--
Gitblit v1.9.3