mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-12 21:27:37 +02:00
Fix folder notifications, enable template strict mode and add missing option to env template
This commit is contained in:
@ -334,6 +334,8 @@ pub struct Config {
|
||||
|
||||
fn load_templates(path: String) -> Handlebars {
|
||||
let mut hb = Handlebars::new();
|
||||
// Error on missing params
|
||||
hb.set_strict_mode(true);
|
||||
|
||||
macro_rules! reg {
|
||||
($name:expr) => {
|
||||
|
Reference in New Issue
Block a user