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

password charset severity algorithm

parent 8da7ff15
......@@ -169,7 +169,7 @@ if [ "${check_password_charset}" == "on" ]; then
if [ "${passcharcomplexity}" -lt "${password_charset_required}" ]; then
test="fail"
reason="only ${passcharcomplexity}/${password_charset_required} char types"
severity=2
severity=$(( ${password_charset_required}/${passcharcomplexity} ))
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