mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-07-27 22:55:06 +03:00
Compare commits
1
Commits
1.35.4
..
ba55191676
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba55191676 |
@@ -269,7 +269,7 @@ impl OrgPolicy {
|
||||
continue;
|
||||
}
|
||||
|
||||
if let Some(user) = Membership::find_by_user_and_org(user_uuid, &policy.org_uuid, conn).await {
|
||||
if let Some(user) = Membership::find_confirmed_by_user_and_org(user_uuid, &policy.org_uuid, conn).await {
|
||||
if user.atype < MembershipType::Admin {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user