mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/9720
This commit is contained in:
parent
f38c52292b
commit
63e65af27c
2 changed files with 8 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue