summaryrefslogtreecommitdiff
path: root/pkg/auth/middleware.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-01-25 22:06:41 -0600
committerkali kaneko (leap communications) <kali@leap.se>2020-01-25 22:06:41 -0600
commitd35f3e153496f21ff89bc0f08e0dc436766c48f0 (patch)
tree79b1c9ebe058662f0fd1adb1139397a51c230d1b /pkg/auth/middleware.go
parent5bb198c1a5da3132945915947b88ad4a59dc7fcb (diff)
get sip2 telnet terminator from env var
Diffstat (limited to 'pkg/auth/middleware.go')
-rw-r--r--pkg/auth/middleware.go2
1 files changed, 1 insertions, 1 deletions
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) {