mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
review fix
This commit is contained in:
parent
634d3c9629
commit
ef796f1b11
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user