Browse Source

Add comments

Volodymyr Tkach 2 years ago
parent
commit
b84c8b6605
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/http/servauth/servauth.go

+ 2 - 0
utils/http/servauth/servauth.go

@@ -5,6 +5,8 @@ import (
 	"net/http"
 )
 
+// TODO: protect from bruteforce
+
 func BasicAuth(handler http.Handler, username, password, realm string) http.Handler {
 	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
 		if username != "" {