mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +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
|
certfp := client.certfp
|
||||||
if passphrase == "*" {
|
if passphrase == "*" {
|
||||||
if certfp == "" {
|
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
|
return
|
||||||
} else {
|
} else {
|
||||||
passphrase = ""
|
passphrase = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user