diff --git a/pkg/interact/auth.go b/pkg/interact/auth.go index db382a2b5..84ae4874d 100644 --- a/pkg/interact/auth.go +++ b/pkg/interact/auth.go @@ -84,7 +84,13 @@ func (it *AuthInteract) Commands(interact *Interact) { }) } else { interact.Command("/auth", "authorize", func(reply Reply) error { - reply.Message("Enter your authentication code") + switch it.Mode { + case AuthModeToken: + reply.Message("Enter your authentication token") + + case AuthModeOTP: + reply.Message("Enter your one-time password") + } return nil }).NamedNext(StateAuthenticated, func(code string, reply Reply, session Session) error { switch it.Mode {