add protected flag for some api methods

This commit is contained in:
Dietmar Maurer
2019-01-28 18:16:47 +01:00
parent a3da38ddfd
commit a859fa95a9
3 changed files with 26 additions and 18 deletions

View File

@ -83,7 +83,7 @@ pub fn router() -> Router {
set_timezone,
ObjectSchema::new("Set time zone.")
.required("timezone", StringSchema::new("Time zone. The file '/usr/share/zoneinfo/zone.tab' contains the list of valid names."))
)
).protected(true)
);