dns/ddclient - replacement for dyndns using ddclient package

fix typo and username is optional for some services
This commit is contained in:
Ad Schellevis 2022-01-02 19:52:20 +01:00
parent b3fa1c62f9
commit 434cfdd686
2 changed files with 4 additions and 2 deletions

View file

@ -68,7 +68,7 @@
</OptionValues>
</service>
<username type="TextField">
<Required>Y</Required>
<Required>N</Required>
<mask>/^([a-z0-9\-.@_:+])*$/u</mask>
<ValidationMessage>The username contains invalid characters.</ValidationMessage>
</username>

View file

@ -60,8 +60,10 @@ ssl=yes
{% endif %}
{% if account.wildcard|default('0') == '1' %}
wildcard=yes
{% endif}
{% endif %}
{% if account.username %}
login={{account.username}}
{% endif %}
password={{account.password}}
{{account.hostnames}}