3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +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 { 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 {