add auther config
This commit is contained in:
@ -36,6 +36,9 @@ func (r *bypassRegistry) IsRegistered(name string) bool {
|
||||
}
|
||||
|
||||
func (r *bypassRegistry) Get(name string) bypass.Bypass {
|
||||
if name == "" {
|
||||
return nil
|
||||
}
|
||||
return &bypassWrapper{name: name}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user