diff --git a/bin/v-check-user-password b/bin/v-check-user-password
index 57e59da3..fbb0221e 100755
--- a/bin/v-check-user-password
+++ b/bin/v-check-user-password
@@ -82,6 +82,7 @@ if [ -z "$salt" ]; then
 fi
 
 # Generating hash
+set -o noglob
 hash=$($BIN/v-generate-password-hash $method $salt <<< "$password")
 if [[ -z "$hash" ]]; then
     echo "Error: password missmatch"