|
|
|
|
43
|
# Minimum number of characters in a password
|
43
|
# Minimum number of characters in a password
|
44
|
MINIMUM_PASSWORD_LENGTH=10
|
44
|
MINIMUM_PASSWORD_LENGTH=10
|
45
|
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
|
45
|
if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
|
46
|
- MINIMUM_PASSWORD_LENGTH=$(cat /usr/local/bin/${PROJECT_NAME} | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}')
|
|
|
|
|
46
|
+ MINIMUM_PASSWORD_LENGTH=$(cat /usr/local/bin/${PROJECT_NAME}-utils-passwords | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}')
|
47
|
else
|
47
|
else
|
48
|
if [ -f /usr/bin/${PROJECT_NAME} ]; then
|
48
|
if [ -f /usr/bin/${PROJECT_NAME} ]; then
|
49
|
- MINIMUM_PASSWORD_LENGTH=$(cat /usr/bin/${PROJECT_NAME} | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}')
|
|
|
|
|
49
|
+ MINIMUM_PASSWORD_LENGTH=$(cat /usr/bin/${PROJECT_NAME}-utils-passwords | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}')
|
50
|
fi
|
50
|
fi
|
51
|
fi
|
51
|
fi
|
52
|
|
52
|
|