summaryrefslogtreecommitdiff
path: root/pkg/auth/anon/auth.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-01-31 23:05:31 -0600
committerkali kaneko (leap communications) <kali@leap.se>2020-02-11 20:32:30 +0100
commitd501f3f88ecd8410ae4040c62a099017db8dcb9f (patch)
tree951de2c481ddae4e679ff59e90274652b69f4532 /pkg/auth/anon/auth.go
parentec1cda75a94f88ffbc4e6ea283972fe1fdaabe70 (diff)
[refactor] telnet dispatcher, handle errors
Diffstat (limited to 'pkg/auth/anon/auth.go')
-rw-r--r--pkg/auth/anon/auth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/auth/anon/auth.go b/pkg/auth/anon/auth.go
index 52d2827..52b9ffc 100644
--- a/pkg/auth/anon/auth.go
+++ b/pkg/auth/anon/auth.go
@@ -31,8 +31,8 @@ func (a *Authenticator) GetLabel() string {
return Label
}
-func (a *Authenticator) CheckCredentials(cred *creds.Credentials) bool {
- return true
+func (a *Authenticator) CheckCredentials(cred *creds.Credentials) (bool, error) {
+ return true, nil
}
func (a *Authenticator) NeedsCredentials() bool {