aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 4876c82..f379533 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1868,7 +1868,7 @@ proc Authenticate_User { user_requested password } {
return __non_existing_user__
}
- set eval_str [list SELECT UserName FROM PasswordsTable WHERE UserName='$user_requested' AND PasswordHash='$PasswordHash']
+ set eval_str [list SELECT UserName FROM PasswordsTable WHERE UserName=:user_requested AND PasswordHash=:PasswordHash]
set err [catch {
pdb eval $eval_str valid_user_name_array {}
} errStat ]