From eb630b76570cb0bd63a421cc0385aeba92418067 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Mon, 6 Jan 2020 15:00:26 -0500 Subject: [PATCH] Revert "never set the certfp lookup key before verification" This reverts commit a120cc24436a69402f95644eb5e1ef92c04148b2. --- irc/accounts.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irc/accounts.go b/irc/accounts.go index 0012d385..ce18984b 100644 --- a/irc/accounts.go +++ b/irc/accounts.go @@ -378,6 +378,9 @@ func (am *AccountManager) Register(client *Client, account string, callbackNames tx.Set(registeredTimeKey, registeredTimeStr, setOptions) tx.Set(credentialsKey, credStr, setOptions) tx.Set(callbackKey, callbackSpec, setOptions) + if certfp != "" { + tx.Set(certFPKey, casefoldedAccount, setOptions) + } return nil }) }()