mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 20:09:41 +01:00
never set the certfp lookup key before verification
This commit is contained in:
parent
1b35c6887f
commit
a120cc2443
@ -378,9 +378,6 @@ func (am *AccountManager) Register(client *Client, account string, callbackNames
|
|||||||
tx.Set(registeredTimeKey, registeredTimeStr, setOptions)
|
tx.Set(registeredTimeKey, registeredTimeStr, setOptions)
|
||||||
tx.Set(credentialsKey, credStr, setOptions)
|
tx.Set(credentialsKey, credStr, setOptions)
|
||||||
tx.Set(callbackKey, callbackSpec, setOptions)
|
tx.Set(callbackKey, callbackSpec, setOptions)
|
||||||
if certfp != "" {
|
|
||||||
tx.Set(certFPKey, casefoldedAccount, setOptions)
|
|
||||||
}
|
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user