Jelajahi Sumber

set -o noglob just in case

Serghey Rodin 7 tahun lalu
induk
melakukan
0d5c3c42a1
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      bin/v-check-user-password

+ 1 - 0
bin/v-check-user-password

@@ -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"