Implementing Activate User
This commit is contained in:
parent
6a7438e3ce
commit
fdc7244c68
1 changed files with 0 additions and 3 deletions
3
admin.go
3
admin.go
|
@ -2,7 +2,6 @@ package main
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"regexp"
|
||||
"sort"
|
||||
|
@ -66,8 +65,6 @@ func handleAdminActivateUsers(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
sr, err := login.conn.Search(searchRequest)
|
||||
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)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue