Merge branch 'dev' into test
This commit is contained in:
commit
46394abf91
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -5,9 +5,9 @@ INTEGRATION_API_KEY=I76mSQZQEPYU6TubMhjh-xLsCgWC0gSIg5MncJFHFCvqvVlg-gZ_BvwO_UEL
|
||||
# 是否启用 JWT 认证
|
||||
AUTH_JWT_REQUIRED=true
|
||||
|
||||
AUTH_LOGIN_MODE=casdoor
|
||||
# AUTH_LOGIN_MODE=casdoor
|
||||
# 如果需要用户密码登录,修改该值为password
|
||||
# AUTH_LOGIN_MODE=password
|
||||
AUTH_LOGIN_MODE=password
|
||||
|
||||
# Casdoor JWT 验签三件套
|
||||
AUTH_JWT_ISSUER=http://ai.well-trust.com:8870
|
||||
|
||||
@@ -4,7 +4,7 @@ export const config = {
|
||||
// Login mode switch:
|
||||
// - 'casdoor': submit username/password to backend Casdoor password-login API.
|
||||
// - 'password': submit to legacy local /api/user/login.
|
||||
loginMode: 'casdoor',
|
||||
loginMode: 'password',
|
||||
casdoor: {
|
||||
enabled: true,
|
||||
authorizeApi: '/api/user/casdoor/authorize-url',
|
||||
|
||||
Reference in new issue
Block a user