fix: skip-auth-prefixes not apply on listeners when users is unset

This commit is contained in:
wwqgtxx
2024-09-27 18:10:05 +08:00
parent 88bfe7cffe
commit cd2d1c6bb0
11 changed files with 70 additions and 49 deletions

View File

@@ -5,6 +5,11 @@ type Authenticator interface {
Users() []string
}
type AuthStore interface {
Authenticator() Authenticator
SetAuthenticator(Authenticator)
}
type AuthUser struct {
User string
Pass string