Update OctoJoom version and improve password validation #10

The OctoJoom version was updated to 3.6.2. Changes were also made to the password validation process to increase the minimum required length of the password from 4 to 11 characters for the correct error message.
This commit is contained in:
Llewellyn van der Merwe 2024-06-01 15:23:19 +02:00
parent 8cf856b35e
commit ed147ece9e
Signed by: Llewellyn
GPG Key ID: A9201372263741E7

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# The most recent program version. # The most recent program version.
_VERSION="3.6.1" _VERSION="3.6.2"
_V="3.6" _V="3.6"
# Bash version required # Bash version required
@ -4065,7 +4065,7 @@ function setJoomlaPassword() {
'joomla-17082005' 'Enter Joomla User Password') 'joomla-17082005' 'Enter Joomla User Password')
# keep asking if empty # keep asking if empty
if [ ${#VDM_J_PASSWORD} -le 12 ]; then if [ ${#VDM_J_PASSWORD} -le 12 ]; then
showError "You must enter a password with more than 4 characters!" showError "You must enter a password with more than 11 characters!"
fi fi
done done
# make sure it is available # make sure it is available