mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-24 11:55:47 +00:00
Fix issue 2737, unable to create org
There was a small oversight on upgrading to v2022.9.0 web-vault version. It seems the call to the /plans/ endpoint doesn't provide authentication anymore. Removed this check and it seems to work again. Fixes #2737
This commit is contained in:
parent
edca4248aa
commit
42b9cc73ac
@ -1351,7 +1351,7 @@ fn get_organization_tax(org_id: String, _headers: Headers) -> Json<Value> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[get("/plans")]
|
#[get("/plans")]
|
||||||
fn get_plans(_headers: Headers) -> Json<Value> {
|
fn get_plans() -> Json<Value> {
|
||||||
// Respond with a minimal json just enough to allow the creation of an new organization.
|
// Respond with a minimal json just enough to allow the creation of an new organization.
|
||||||
Json(json!({
|
Json(json!({
|
||||||
"Object": "list",
|
"Object": "list",
|
||||||
|
Loading…
Reference in New Issue
Block a user