Merge 0bfe109a42477dfc7c8c69ff121ea02ba9669af3 into c86c93ca2951338115159dcdd20711603044e1f1

This commit is contained in:
Ning Xie 2024-09-26 22:00:06 +01:00 committed by GitHub
commit b109f18e49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,10 +286,9 @@ func (as *authStore) AuthEnable() error {
as.enabled = true
as.tokenProvider.enable()
as.commitRevision(tx)
as.refreshRangePermCache(tx)
as.setRevision(tx.UnsafeReadAuthRevision())
as.lg.Info("enabled authentication")
return nil
}