gluon/package/gluon-config-mode-hostname/check_site.lua
Matthias Schiffer 7827f8960f
gluon-config-mode-hostname: add config_mode.hostname.optional site option
This setting allows to enforce manually setting a hostname.

In the initial configuration, the hostname field is now left empty; when
setting the hostname is not enforced, the default hostname is shown as the
field placeholder.

Fixes #1139
2018-03-17 12:51:14 +01:00

2 lines
70 B
Lua

need_boolean(in_site({'config_mode', 'hostname', 'optional'}), false)