mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-02 10:50:24 +00:00
fix: skip-auth-prefixes not apply on listeners when users is unset
This commit is contained in:
@@ -5,6 +5,11 @@ type Authenticator interface {
|
||||
Users() []string
|
||||
}
|
||||
|
||||
type AuthStore interface {
|
||||
Authenticator() Authenticator
|
||||
SetAuthenticator(Authenticator)
|
||||
}
|
||||
|
||||
type AuthUser struct {
|
||||
User string
|
||||
Pass string
|
||||
|
||||
Reference in New Issue
Block a user