forked from Silverfish/proton-bridge
fix: race condition when updating user auth
This commit is contained in:
committed by
Michal Horejsek
parent
51846efed5
commit
8f15041d8f
@ -21,8 +21,3 @@ package pmapi
|
||||
func (s *Auth) DANGEROUSLYSetUID(uid string) {
|
||||
s.uid = uid
|
||||
}
|
||||
|
||||
// GetClientAuthChannel returns a channel on which clients should send auths.
|
||||
func (cm *ClientManager) GetClientAuthChannel() chan ClientAuth {
|
||||
return cm.clientAuths
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user