From 75febb6a4e979e4f7e9ab61d450050b3fecc9512 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Fri, 23 Feb 2024 17:25:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/api/user.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/api/user.js b/src/api/user.js
index 5775d8a..f51bd4d 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -8,14 +8,14 @@
'Tenant-Id': tenantId,
'Dept-Id': (website.switchMode ? deptId : ''),
'Role-Id': (website.switchMode ? roleId : ''),
- 'Captcha-Key': key,
- 'Captcha-Code': code,
+ // 'Captcha-Key': key,
+ // 'Captcha-Code': code,
},
params: {
tenantId,
username,
password,
- grant_type: (website.captchaMode ? "captcha" : "password"),
+ grant_type:"password",
scope: "all",
type
}
--
Gitblit v1.9.3