mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-17 05:08:09 -07:00
refactor the password hashing / password autoupgrade system
This commit is contained in:
@@ -312,6 +312,8 @@ func nsRegisterHandler(server *Server, client *Client, command, params string, r
|
||||
errMsg = client.t("An account already exists for your certificate fingerprint")
|
||||
} else if err == errAccountAlreadyRegistered {
|
||||
errMsg = client.t("Account already exists")
|
||||
} else if err == errAccountBadPassphrase {
|
||||
errMsg = client.t("Passphrase contains forbidden characters or is otherwise invalid")
|
||||
}
|
||||
nsNotice(rb, errMsg)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user