diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-01-31 23:05:31 -0600 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-02-11 20:32:30 +0100 |
commit | d501f3f88ecd8410ae4040c62a099017db8dcb9f (patch) | |
tree | 951de2c481ddae4e679ff59e90274652b69f4532 /pkg/auth/anon/auth.go | |
parent | ec1cda75a94f88ffbc4e6ea283972fe1fdaabe70 (diff) |
[refactor] telnet dispatcher, handle errors
Diffstat (limited to 'pkg/auth/anon/auth.go')
-rw-r--r-- | pkg/auth/anon/auth.go | 4 |
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 { |