diff options
author | Andrew Cady <d@cryptonomic.net> | 2022-11-30 18:44:53 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2022-11-30 18:44:53 -0500 |
commit | 13b5aef0378784a375ba18e2bc919b0d031904a2 (patch) | |
tree | a71db682776b3b02e38a2396699ebc7a68e78395 | |
parent | f22fc83da5f4a4c937d2f7d4cbe4d394329681ea (diff) |
fix syntax
-rwxr-xr-x | quasseluser-check-password | 2 |
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 @@ | |||
3 | set -e | 3 | set -e |
4 | [ $# = 1 ] | 4 | [ $# = 1 ] |
5 | quser=$1 | 5 | quser=$1 |
6 | case "$quser" in *[']*) exit 1 ;; esac | 6 | case "$quser" in *\'*) exit 1 ;; esac |
7 | qpass=$(./quasselcore-sqlite "select password from quasseluser where username = '$quser' and hashversion = 1;") | 7 | qpass=$(./quasselcore-sqlite "select password from quasseluser where username = '$quser' and hashversion = 1;") |
8 | 8 | ||
9 | hash=${qpass%:*} | 9 | hash=${qpass%:*} |