Skip to content
Snippets Groups Projects
Commit ee89b710 authored by ale's avatar ale
Browse files

Instantiate password map

parent 9ebcb53c
No related branches found
No related tags found
No related merge requests found
Pipeline #81783 passed
......@@ -15,7 +15,7 @@ import (
var (
passwordFile = flag.String("passwords", "/etc/nginx-authenticator/users.json", "JSON file with usernames/passwords")
passwords map[string]string
passwords = make(map[string]string)
)
func authenticate(username, password string) bool {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment