File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " rnacos"
3- version = " 0.6.9 "
3+ version = " 0.6.10 "
44authors = [
" heqingpan <[email protected] >" ]
55edition = " 2018"
66license = " Apache-2.0"
@@ -71,7 +71,7 @@ mime_guess = { version = "2" }
7171rusqlite = { version = " 0.25" , features = [" bundled" ] }
7272rsql_builder = " 0.1.5"
7373inner-mem-cache = " 0.1.7"
74- rnacos-web-dist-wrap = " =0.5.8 "
74+ rnacos-web-dist-wrap = " =0.5.9 "
7575nacos_rust_client = " 0.3.2"
7676zip = " 0.6"
7777tempfile = " 3"
Original file line number Diff line number Diff line change @@ -110,11 +110,9 @@ impl CacheManager {
110110
111111 fn user_privilege_has_changed ( & self , v : & CacheValue ) -> bool {
112112 if let CacheValue :: UserSession ( session) = & v {
113- if session. refresh_time > 0 {
114- if let Some ( change_time) = self . user_privilege_change_time . get ( & session. username ) {
115- if * change_time > session. refresh_time {
116- return true ;
117- }
113+ if let Some ( change_time) = self . user_privilege_change_time . get ( & session. username ) {
114+ if * change_time > session. refresh_time {
115+ return true ;
118116 }
119117 }
120118 }
You can’t perform that action at this time.
0 commit comments