This commit is contained in:
Daniel 2023-11-22 17:00:46 +08:00
parent f38c52292b
commit 63e65af27c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 8 additions and 10 deletions

View file

@ -163,7 +163,7 @@ func CheckAuth(c *gin.Context) {
// 未设置访问授权码
if "" == Conf.AccessAuthCode {
// Skip the empty access authorization code check https://github.com/siyuan-note/siyuan/issues/9709
if util.SIYUAN_ACCESS_AUTH_CODE_BYPASS {
if util.SiyuanAccessAuthCodeBypass {
c.Next()
return
}