Browse Source

Add token auth

master
Gregory Rudolph 3 years ago
parent
commit
79fd1c0e35
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      commands.go

2
commands.go

@ -38,7 +38,7 @@ func authenticate(m chat1.MsgSummary) { @@ -38,7 +38,7 @@ func authenticate(m chat1.MsgSummary) {
}
parts := strings.Split(m.Content.Text.Body, " ")
if len(parts) != 3 || len(parts) != 2 {
k.SendMessageByConvID(m.ConvID, "Invalid input for command authenticate. Requires username and password. This information is not stored in keybase, or logged.")
k.SendMessageByConvID(m.ConvID, "Invalid input for command authenticate. Requires username and password. This information is not stored in keybase, or logged. %+v", len(parts))
return
}
log.LogDebug("Proper amount of parameters has been received, calling login()")

Loading…
Cancel
Save