Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Add missing fields to returned Org json
Dieser Commit ist enthalten in:
Ursprung
fb4e6bab14
Commit
c3c74506a7
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
|
@ -66,7 +66,7 @@ impl Organization {
|
||||||
"Name": self.name,
|
"Name": self.name,
|
||||||
"Seats": 10,
|
"Seats": 10,
|
||||||
"MaxCollections": 10,
|
"MaxCollections": 10,
|
||||||
|
"MaxStorageGb": 10, // The value doesn't matter, we don't check server-side
|
||||||
"Use2fa": true,
|
"Use2fa": true,
|
||||||
"UseDirectory": false,
|
"UseDirectory": false,
|
||||||
"UseEvents": false,
|
"UseEvents": false,
|
||||||
|
@ -83,7 +83,7 @@ impl Organization {
|
||||||
"BillingEmail": self.billing_email,
|
"BillingEmail": self.billing_email,
|
||||||
"Plan": "TeamsAnnually",
|
"Plan": "TeamsAnnually",
|
||||||
"PlanType": 5, // TeamsAnnually plan
|
"PlanType": 5, // TeamsAnnually plan
|
||||||
|
"UsersGetPremium": true,
|
||||||
"Object": "organization",
|
"Object": "organization",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -158,6 +158,7 @@ impl UserOrganization {
|
||||||
"Name": org.name,
|
"Name": org.name,
|
||||||
"Seats": 10,
|
"Seats": 10,
|
||||||
"MaxCollections": 10,
|
"MaxCollections": 10,
|
||||||
|
"UsersGetPremium": true,
|
||||||
|
|
||||||
"Use2fa": true,
|
"Use2fa": true,
|
||||||
"UseDirectory": false,
|
"UseDirectory": false,
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#![feature(plugin, custom_derive, vec_remove_item, try_trait)]
|
#![feature(plugin, custom_derive, vec_remove_item, try_trait)]
|
||||||
#![plugin(rocket_codegen)]
|
#![plugin(rocket_codegen)]
|
||||||
|
#![recursion_limit="128"]
|
||||||
#![allow(proc_macro_derive_resolution_fallback)] // TODO: Remove this when diesel update fixes warnings
|
#![allow(proc_macro_derive_resolution_fallback)] // TODO: Remove this when diesel update fixes warnings
|
||||||
extern crate rocket;
|
extern crate rocket;
|
||||||
extern crate rocket_contrib;
|
extern crate rocket_contrib;
|
||||||
|
|
Laden …
In neuem Issue referenzieren