keys: fix key validation #18

Merged
offbyn merged 1 commits from fix-key-validation into master 2 years ago

1 Commits (master)

Author SHA1 Message Date
OFF0 6a4266526d
keys: fix key validation
ci/woodpecker/pr/woodpecker Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details
Pub and private key settings only showed errors if both values were
truthy, but it did not validate if one input was falsy, in which
case it only showed the last error.

Removed truthy check as it is not needed.
2 years ago