mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Invalid password message should also mention that dollar signs are not allowed
This commit is contained in:
@@ -42,7 +42,7 @@ fi
|
|||||||
read -rs FLEET_PASS
|
read -rs FLEET_PASS
|
||||||
|
|
||||||
if ! check_password "$FLEET_PASS"; then
|
if ! check_password "$FLEET_PASS"; then
|
||||||
echo "Password is invalid. Please exclude single quotes, double quotes and backslashes from the password."
|
echo "Password is invalid. Please exclude single quotes, double quotes, dollar signs, and backslashes from the password."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ fi
|
|||||||
read -rs FLEET_PASS
|
read -rs FLEET_PASS
|
||||||
|
|
||||||
if ! check_password "$FLEET_PASS"; then
|
if ! check_password "$FLEET_PASS"; then
|
||||||
echo "Password is invalid. Please exclude single quotes, double quotes and backslashes from the password."
|
echo "Password is invalid. Please exclude single quotes, double quotes, dollar signs, and backslashes from the password."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ fi
|
|||||||
read -rs THEHIVE_PASS
|
read -rs THEHIVE_PASS
|
||||||
|
|
||||||
if ! check_password "$THEHIVE_PASS"; then
|
if ! check_password "$THEHIVE_PASS"; then
|
||||||
echo "Password is invalid. Please exclude single quotes, double quotes and backslashes from the password."
|
echo "Password is invalid. Please exclude single quotes, double quotes, dollar signs, and backslashes from the password."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ fi
|
|||||||
read -rs THEHIVE_PASS
|
read -rs THEHIVE_PASS
|
||||||
|
|
||||||
if ! check_password "$THEHIVE_PASS"; then
|
if ! check_password "$THEHIVE_PASS"; then
|
||||||
echo "Password is invalid. Please exclude single quotes, double quotes and backslashes from the password."
|
echo "Password is invalid. Please exclude single quotes, double quotes, dollar signs, and backslashes from the password."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -843,7 +843,7 @@ whiptail_invalid_pass_characters_warning() {
|
|||||||
|
|
||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
whiptail --title "$whiptail_title" --msgbox "Password is invalid. Please exclude single quotes, double quotes and backslashes from the password." 8 75
|
whiptail --title "$whiptail_title" --msgbox "Password is invalid. Please exclude single quotes, double quotes, dollar signs, and backslashes from the password." 8 75
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_invalid_pass_warning() {
|
whiptail_invalid_pass_warning() {
|
||||||
|
|||||||
Reference in New Issue
Block a user