3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 04:32:36 +01:00

Revert "never set the certfp lookup key before verification"

This reverts commit a120cc2443.
This commit is contained in:
Shivaram Lingamneni 2020-01-06 15:00:26 -05:00
parent 01e1a01fa2
commit eb630b7657

View File

@ -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
})
}()