mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
ffd6459540
commit
fa49681cd9
3 changed files with 7 additions and 8 deletions
|
@ -457,7 +457,7 @@ func serveWebSocket(ginServer *gin.Engine) {
|
|||
|
||||
if !authOk {
|
||||
s.CloseWithMsg([]byte(" unauthenticated"))
|
||||
logging.LogWarnf("closed an unauthenticated session [%s]", util.GetRemoteAddr(s))
|
||||
logging.LogWarnf("closed an unauthenticated session [%s]", util.GetRemoteAddr(s.Request))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue