Browse Source

fix: auth token bug (#1762)

pull/1765/head
Tank 5 years ago committed by GitHub
parent
commit
5a61fd84ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      models/auth/token.go

2
models/auth/token.go

@ -81,7 +81,7 @@ func (auth *TokenAuthSetterVerifier) SetPing(pingMsg *msg.Ping) error {
}
func (auth *TokenAuthSetterVerifier) SetNewWorkConn(newWorkConnMsg *msg.NewWorkConn) error {
if !auth.AuthenticateHeartBeats {
if !auth.AuthenticateNewWorkConns {
return nil
}

Loading…
Cancel
Save