Unverified Commit 8da7ff15 authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

password lengh severity algorithm

parent 07c26981
......@@ -93,7 +93,7 @@ if [ "${check_length}" == "on" ]; then
if [ "${#mailpassword}" -lt "${password_length}" ]; then
test="fail"
reason="only ${#mailpassword}/${password_length} chars"
severity=2
severity="$(( ${password_length}/${#mailpassword} ))"
else
test="pass"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment