mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2026-04-09 06:41:10 -07:00
Skip redundant nonce sending with an expiry time of 0
This commit is contained in:
parent
dd6e69f530
commit
20f7311622
1 changed files with 0 additions and 8 deletions
|
|
@ -584,14 +584,6 @@ AuthInfo CentralDB::getSSOAuthInfo(const nlohmann::json& member, const std::stri
|
|||
exit(7);
|
||||
}
|
||||
|
||||
// For reused nonces (non-INSERT paths), publish the nonce update here.
|
||||
// New nonces are published inside the INSERT branch above (before w.commit()).
|
||||
// We use 0 for nonceExpiration on reused nonces since the actual
|
||||
// expiration is already stored in the database.
|
||||
if (_ssoNonceWriter && ! nonce.empty()) {
|
||||
_ssoNonceWriter->publishSSONonceUpdate(nonce, 0, networkId, memberId, frontend);
|
||||
}
|
||||
|
||||
r = w.exec(
|
||||
"SELECT oc.client_id, oc.authorization_endpoint, oc.issuer, oc.provider, 1 AS sso_impl_version "
|
||||
"FROM oidc_config oc "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue