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
1 changed files with 1 additions and 1 deletions

View File

@ -886,7 +886,7 @@ func (am *AccountManager) Verify(client *Client, account string, code string) er
if client != nil { if client != nil {
nick = client.Nick() 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 raw.Verified = true
clientAccount, err := am.deserializeRawAccount(raw, casefoldedAccount) clientAccount, err := am.deserializeRawAccount(raw, casefoldedAccount)
if err != nil { if err != nil {