mirror of
https://github.com/volatiletech/authboss.git
synced 2025-03-19 21:28:00 +02:00
Removed logging
This commit is contained in:
parent
9c6ee5b637
commit
ec00be1052
@ -12,7 +12,6 @@ import (
|
||||
"io/ioutil"
|
||||
|
||||
"bytes"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"io"
|
||||
"log"
|
||||
)
|
||||
@ -99,7 +98,6 @@ func (a *Auth) authenticate(username, password string) error {
|
||||
}
|
||||
|
||||
userAttrs := authboss.Unbind(userInter)
|
||||
spew.Dump(userAttrs)
|
||||
|
||||
if pwd, ok := userAttrs["Password"]; !ok {
|
||||
return errAuthFailed
|
||||
@ -107,8 +105,6 @@ func (a *Auth) authenticate(username, password string) error {
|
||||
return errAuthFailed
|
||||
}
|
||||
|
||||
log.Println("I have all the power")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user