mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-08 22:33:22 +00:00
add policy api
This commit is contained in:
+1
-1
@@ -1098,7 +1098,7 @@ where
|
||||
|
||||
fn update_user_with_claims(&self, k: &str, u: UserIdentity) -> Result<()> {
|
||||
let mut u = u;
|
||||
if u.credentials.session_token.is_empty() {
|
||||
if !u.credentials.session_token.is_empty() {
|
||||
u.credentials.claims = Some(extract_jwt_claims(&u)?);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user