mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge 0bfe109a42477dfc7c8c69ff121ea02ba9669af3 into c86c93ca2951338115159dcdd20711603044e1f1
This commit is contained in:
commit
b109f18e49
@ -286,10 +286,9 @@ func (as *authStore) AuthEnable() error {
|
|||||||
as.enabled = true
|
as.enabled = true
|
||||||
as.tokenProvider.enable()
|
as.tokenProvider.enable()
|
||||||
|
|
||||||
|
as.commitRevision(tx)
|
||||||
as.refreshRangePermCache(tx)
|
as.refreshRangePermCache(tx)
|
||||||
|
|
||||||
as.setRevision(tx.UnsafeReadAuthRevision())
|
|
||||||
|
|
||||||
as.lg.Info("enabled authentication")
|
as.lg.Info("enabled authentication")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user