Browse Source

Remove debug form logging

master
maride 4 years ago
parent
commit
494fdaf860
  1. 2
      ldapmod.go

2
ldapmod.go

@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"net/http"
"log"
"gopkg.in/ldap.v2"
"io/ioutil"
"net/url"
@ -68,7 +67,6 @@ func changeHandler(w http.ResponseWriter, r *http.Request) {
if r.Method == "POST" {
r.ParseForm()
args := r.Form
log.Print(args)
if checkForArg(args, "user") && checkForArg(args, "oldpass") && checkForArg(args, "newpass") {
err := setNewPass(args["user"][0], args["oldpass"][0], args["newpass"][0])
if err != nil {

Loading…
Cancel
Save