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