]> git.ipfire.org Git - ipfire-2.x.git/commit
ddns.cgi: Fix sanity check logic.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 6 Jul 2021 16:08:29 +0000 (18:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jul 2021 09:34:31 +0000 (09:34 +0000)
commit1d32c50e0306b7b9d304bd0037a99252f9e6eb9a
tree756f62c1b8c6bae03800c50b3170fd60135e75fc
parent92a5ad86e7012d1c1c2e7a3446c63c78e3d7abef
ddns.cgi: Fix sanity check logic.

The input validation did not work in the proper way. It allways
reported "No password" when using a provider which supports token and
the token has been given.

This of course is wrong and leaded to unuseable providers.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ddns.cgi