From 367fff00519ea35beba2374f8ba94df9289e544e Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 24 八月 2025 13:49:05 +0800
Subject: [PATCH] 待办

---
 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 2ca0861..db48115 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -18,7 +18,7 @@
       tenantId,
       username,
       password,
-      grant_type: website.captchaMode ? 'password' : 'captcha',
+      grant_type: website.captchaMode ? 'captcha' : 'password',
       scope: 'all',
       type,
     },

--
Gitblit v1.9.3