diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-06 23:03:11 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-06 23:03:11 -0700 |
commit | 406766a3ac390c9bd4078a3d92960af9b54160a0 (patch) | |
tree | f416a370be4a4e917eb8159ce393708e31bb3124 | |
parent | 8481dfad49c65ec971ac798c810270545257ebc9 (diff) |
removed debug
-rw-r--r-- | system/admin/user/auth.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/system/admin/user/auth.go b/system/admin/user/auth.go index 36f5e40..3ff2b2b 100644 --- a/system/admin/user/auth.go +++ b/system/admin/user/auth.go @@ -2,7 +2,6 @@ package user import ( "encoding/base64" - "fmt" "net/http" "github.com/nilslice/jwt" @@ -59,7 +58,6 @@ func IsValid(req *http.Request) bool { // IsUser checks for consistency in email/pass combination func IsUser(usr *User, password string) bool { - fmt.Println(usr, password) salt, err := base64.StdEncoding.DecodeString(usr.Salt) if err != nil { return false |