mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
Add Note field to user traits; Enforce max length restrictions on email, firstname, lastname, and note fields
This commit is contained in:
@@ -101,6 +101,9 @@ function validatePassword() {
|
||||
if [[ $len -lt 6 ]]; then
|
||||
fail "Password does not meet the minimum requirements"
|
||||
fi
|
||||
if [[ $len -gt 72 ]]; then
|
||||
fail "Password is too long (max: 72)"
|
||||
fi
|
||||
check_password_and_exit "$password"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user