summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-11-30 18:44:53 -0500
committerAndrew Cady <d@cryptonomic.net>2022-11-30 18:44:53 -0500
commit13b5aef0378784a375ba18e2bc919b0d031904a2 (patch)
treea71db682776b3b02e38a2396699ebc7a68e78395
parentf22fc83da5f4a4c937d2f7d4cbe4d394329681ea (diff)
fix syntax
-rwxr-xr-xquasseluser-check-password2
1 files changed, 1 insertions, 1 deletions
diff --git a/quasseluser-check-password b/quasseluser-check-password
index f6c5561..59b9946 100755
--- a/quasseluser-check-password
+++ b/quasseluser-check-password
@@ -3,7 +3,7 @@
3set -e 3set -e
4[ $# = 1 ] 4[ $# = 1 ]
5quser=$1 5quser=$1
6case "$quser" in *[']*) exit 1 ;; esac 6case "$quser" in *\'*) exit 1 ;; esac
7qpass=$(./quasselcore-sqlite "select password from quasseluser where username = '$quser' and hashversion = 1;") 7qpass=$(./quasselcore-sqlite "select password from quasseluser where username = '$quser' and hashversion = 1;")
8 8
9hash=${qpass%:*} 9hash=${qpass%:*}