mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-01-19 18:21:18 +08:00
钉钉免登显示钉钉用户名和头像,配置XSRF,修复一些BUG
This commit is contained in:
@@ -7,6 +7,7 @@ runmode = "${MINDOC_RUN_MODE||dev}"
|
||||
sessionon = true
|
||||
sessionname = mindoc_id
|
||||
copyrequestbody = true
|
||||
enablexsrf = true
|
||||
|
||||
#系统完整URL(http://doc.iminho.me),如果该项不设置,会从请求头中获取地址。
|
||||
baseurl="${MINDOC_BASE_URL}"
|
||||
@@ -209,6 +210,20 @@ log_level="${MINDOC_LOG_LEVEL||Alert}"
|
||||
# 是否异步生成日志,默认是 true
|
||||
log_is_async="${MINDOC_LOG_IS_ASYNC||TRUE}"
|
||||
|
||||
##########钉钉应用相关配置##############
|
||||
|
||||
# 企业钉钉ID
|
||||
dingtalk_corpid="${MINDOC_DINGTALK_CORPID}"
|
||||
|
||||
# 钉钉AppKey
|
||||
dingtalk_app_key="${MINDOC_DINGTALK_APPKEY}"
|
||||
|
||||
# 钉钉AppSecret
|
||||
dingtalk_app_secret="${MINDOC_DINGTALK_APPSECRET}"
|
||||
|
||||
# 钉钉登录默认只读账号
|
||||
dingtalk_tmp_reader="${MINDOC_DINGTALK_READER}"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user