Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 15:32:22 +02:00
parent 6a7438e3ce
commit fdc7244c68

View file

@ -2,7 +2,6 @@ package main
import ( import (
"fmt" "fmt"
"log"
"net/http" "net/http"
"regexp" "regexp"
"sort" "sort"
@ -66,8 +65,6 @@ func handleAdminActivateUsers(w http.ResponseWriter, r *http.Request) {
sr, err := login.conn.Search(searchRequest) sr, err := login.conn.Search(searchRequest)
if err != nil { if err != nil {
log.Printf(fmt.Sprintf("65: %v %v", err, searchRequest))
log.Printf(fmt.Sprintf("65: %v %v", login, login.conn))
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
return return
} }