3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 05:49:25 +01:00

log the unfolded account name during registration

This commit is contained in:
Shivaram Lingamneni 2020-10-16 16:11:43 -04:00
parent e993672a0f
commit c639aac241

View File

@ -886,7 +886,7 @@ func (am *AccountManager) Verify(client *Client, account string, code string) er
if client != nil {
nick = client.Nick()
}
am.server.logger.Info("accounts", "client", nick, "registered account", casefoldedAccount)
am.server.logger.Info("accounts", "client", nick, "registered account", account)
raw.Verified = true
clientAccount, err := am.deserializeRawAccount(raw, casefoldedAccount)
if err != nil {