review fix

This commit is contained in:
Shivaram Lingamneni 2019-05-29 05:06:40 -04:00
parent 634d3c9629
commit ef796f1b11
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
certfp := client.certfp
if passphrase == "*" {
if certfp == "" {
nsNotice(rb, client.t("You need to either supply a passphrase or be connected via TLS with a client cert"))
nsNotice(rb, client.t("You must be connected with TLS and a client certificate to do this"))
return
} else {
passphrase = ""