mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-13 12:48:35 -07:00
add loglines for account registration, login, and unregistration
This commit is contained in:
@@ -593,6 +593,11 @@ func (am *AccountManager) Verify(client *Client, account string, code string) er
|
||||
return err
|
||||
}
|
||||
|
||||
nick := "[server admin]"
|
||||
if client != nil {
|
||||
nick = client.Nick()
|
||||
}
|
||||
am.server.logger.Info("accounts", "client", nick, "registered account", casefoldedAccount)
|
||||
raw.Verified = true
|
||||
clientAccount, err := am.deserializeRawAccount(raw)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user