From d35f3e153496f21ff89bc0f08e0dc436766c48f0 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Sat, 25 Jan 2020 22:06:41 -0600 Subject: get sip2 telnet terminator from env var --- pkg/auth/middleware.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/auth/middleware.go') diff --git a/pkg/auth/middleware.go b/pkg/auth/middleware.go index 37c204e..dfd4da3 100644 --- a/pkg/auth/middleware.go +++ b/pkg/auth/middleware.go @@ -14,7 +14,7 @@ const anonAuth string = "anon" const sip2Auth string = "sip" func bailOnBadAuthModule(module string) { - log.Fatal("Unknown auth module: '", module, "'. Should be one of: ", anonAuth, ", ", sipAuth, ".") + log.Fatal("Unknown auth module: '", module, "'. Should be one of: ", anonAuth, ", ", sip2Auth, ".") } func checkForAuthSecret(opts *config.Opts) { -- cgit v1.2.3