This implements PASSWORD_HASH and deprecates PASSWORD usage, because clear text passwords should not be part of any environment variable (neither in the container nor in the docker environment). See #1105
Why do we have the tested password sourced from two different places?
req.headers['authorization']
readBody(event)
Anyway, I made the password validation DRY and moved it to isPasswordValid.
Hey,
This implements
PASSWORD_HASH
and deprecatesPASSWORD
usage, because clear text passwords should not be part of any environment variable (neither in the container nor in the docker environment). See #1105Why do we have the tested password sourced from two different places?
req.headers['authorization']
readBody(event)
Anyway, I made the password validation DRY and moved it to
isPasswordValid
.Kind regards Robert