mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
nixos/radicale: assertion so that users set settings.auth.type explicitly
This commit is contained in:
parent
7eaf5d7cdf
commit
c48d0033f7
1 changed files with 8 additions and 0 deletions
|
@ -119,6 +119,14 @@ in
|
||||||
are mutually exclusive.
|
are mutually exclusive.
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
assertion = cfg.config != "" || (cfg.settings ? auth && cfg.settings.auth ? type);
|
||||||
|
message = ''
|
||||||
|
Radicale 3.5.0 changed the default value for `auth.type` from `none` to `denyall`.
|
||||||
|
You probably don't want `denyall`, so please set this explicitly.
|
||||||
|
https://github.com/Kozea/Radicale/blob/v3.5.0/CHANGELOG.md
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
warnings =
|
warnings =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue