Removed unset from password policy function