mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-17 20:17:03 +02:00
chore: fix function names in comment
Signed-off-by: yudrywet <yudeyao@yeah.net>
This commit is contained in:
@@ -87,7 +87,7 @@ func (h *htpasswdMap) loadHTPasswdFile(filename string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// createHtasswdMap constructs an htpasswdMap from the given records
|
||||
// createHtpasswdMap constructs an htpasswdMap from the given records
|
||||
func createHtpasswdMap(records [][]string) (*htpasswdMap, error) {
|
||||
h := &htpasswdMap{users: make(map[string]interface{})}
|
||||
var invalidRecords, invalidEntries []string
|
||||
|
||||
@@ -46,7 +46,7 @@ func validateAuthRoutes(o *options.Options) []string {
|
||||
return msgs
|
||||
}
|
||||
|
||||
// validateRegex validates regex paths passed with options.SkipAuthRegex
|
||||
// validateAuthRegexes validates regex paths passed with options.SkipAuthRegex
|
||||
func validateAuthRegexes(o *options.Options) []string {
|
||||
return validateRegexes(o.SkipAuthRegex)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user