mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 14:18:10 +03:00
Fix and improvements to policies (#5923)
This commit is contained in:
1 parent
51a1d641c5
commit
0d3f283c37
4 files changed
+57
-48
No files matched your search
@@ -211,7 +211,7 @@ impl OrgPolicy {
|
||||
pub async fn find_accepted_and_confirmed_by_user_and_active_policy(
|
||||
user_uuid: &UserId,
|
||||
policy_type: OrgPolicyType,
|
||||
conn: &mut DbConn,
|
||||
conn: &DbConn,
|
||||
) -> Vec<Self> {
|
||||
db_run! { conn: {
|
||||
org_policies::table
|
||||
|
||||
Reference in new issue
Block a user