summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2021-03-11 05:38:13 -0800
committerlhchavez <lhchavez@lhchavez.com>2021-03-11 06:42:11 -0800
commit0c55c6475701b66c28c245483aeaf4d0179a3cca (patch)
treef0aac848933d51dce3dfcf69ca26073807329c49 /vendor
parent18593154d3cf8973dbddb9f97615453efa6b3b0d (diff)
downloadnovnc-0c55c6475701b66c28c245483aeaf4d0179a3cca.tar.gz
Normalize the credentials presence check
Most places that check for the presence / absence of credentials compare them against `undefined`, except the one for Plain authentication. This change makes the very last place to use the same pattern (instead of checking for falsiness) for consistency. Additionally, there are ways to configure PAM to accept empty passwords, so it's possible for a user to legitimately send an empty string as password.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions