[del] conf:settings.misc
This commit is contained in:
parent
d77f0299b9
commit
abd703981f
3 changed files with 0 additions and 20 deletions
|
@ -44,11 +44,6 @@
|
||||||
"name": "Example Orginsation",
|
"name": "Example Orginsation",
|
||||||
"domain": "example.org"
|
"domain": "example.org"
|
||||||
},
|
},
|
||||||
"misc": {
|
|
||||||
"prefix_for_veiled_email_addresses": "member-",
|
|
||||||
"facultative_membership_number": true,
|
|
||||||
"auto_register": true
|
|
||||||
},
|
|
||||||
"password_policy": {
|
"password_policy": {
|
||||||
"minimum_length": 4,
|
"minimum_length": 4,
|
||||||
"maximum_length": 12,
|
"maximum_length": 12,
|
||||||
|
|
|
@ -149,11 +149,6 @@ namespace _espe.conf
|
||||||
name : string;
|
name : string;
|
||||||
domain : string;
|
domain : string;
|
||||||
};
|
};
|
||||||
misc : {
|
|
||||||
prefix_for_veiled_email_addresses : string;
|
|
||||||
facultative_membership_number : boolean;
|
|
||||||
auto_register : boolean;
|
|
||||||
};
|
|
||||||
password_policy : {
|
password_policy : {
|
||||||
minimum_length : (null | int);
|
minimum_length : (null | int);
|
||||||
maximum_length : (null | int);
|
maximum_length : (null | int);
|
||||||
|
@ -380,13 +375,6 @@ namespace _espe.conf
|
||||||
"name": ((node_settings["organisation"] ?? {})["name"] ?? "Example Orginsation"), // TODO: mandatory?
|
"name": ((node_settings["organisation"] ?? {})["name"] ?? "Example Orginsation"), // TODO: mandatory?
|
||||||
"domain": ((node_settings["organisation"] ?? {})["domain"] ?? "example.org"), // TODO: mandatory?
|
"domain": ((node_settings["organisation"] ?? {})["domain"] ?? "example.org"), // TODO: mandatory?
|
||||||
},
|
},
|
||||||
"misc": (
|
|
||||||
((node_settings_misc) => ({
|
|
||||||
"prefix_for_veiled_email_addresses": (node_settings_misc["prefix_for_veiled_email_addresses"] ?? "member-"),
|
|
||||||
"facultative_membership_number": (node_settings_misc["facultative_membership_number"] ?? false),
|
|
||||||
"auto_register": (node_settings_misc["auto_register"] ?? false),
|
|
||||||
})) (node_settings["misc"] ?? {})
|
|
||||||
),
|
|
||||||
"password_policy": (
|
"password_policy": (
|
||||||
((node_settings_password_policy) => ({
|
((node_settings_password_policy) => ({
|
||||||
"minimum_length": (
|
"minimum_length": (
|
||||||
|
|
|
@ -235,9 +235,6 @@
|
||||||
"settings": {
|
"settings": {
|
||||||
"organisation": {
|
"organisation": {
|
||||||
"domain": "testdomain.org"
|
"domain": "testdomain.org"
|
||||||
},
|
|
||||||
"misc": {
|
|
||||||
"prefix_for_veiled_email_addresses": "wicht-"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue