summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 145f7d6f8..2fed15ad0 100755
--- a/token.cgi
+++ b/token.cgi
@@ -218,7 +218,7 @@ sub changePassword {
# Update the user's password in the profiles table and delete the token
# from the tokens table.
- SendSQL("LOCK TABLE profiles WRITE , tokens WRITE");
+ SendSQL("LOCK TABLES profiles WRITE , tokens WRITE");
SendSQL("UPDATE profiles
SET cryptpassword = $quotedpassword
WHERE userid = $userid");