|
@@ -82,6 +82,7 @@ if [ -z "$salt" ]; then
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Generating hash
|
|
# Generating hash
|
|
|
|
|
+set -o noglob
|
|
|
hash=$($BIN/v-generate-password-hash $method $salt <<< "$password")
|
|
hash=$($BIN/v-generate-password-hash $method $salt <<< "$password")
|
|
|
if [[ -z "$hash" ]]; then
|
|
if [[ -z "$hash" ]]; then
|
|
|
echo "Error: password missmatch"
|
|
echo "Error: password missmatch"
|