# HG changeset patch # User Kim Alvefur # Date 1315776271 -7200 # Node ID 35b3ea156156dcf1ed95a63a04dbbd911b39d0ab # Parent 6f2e37d0a1b0a8481fb061b0d9d97badc8b97f66 mod_auth_wordpress: Fix wrong column name diff -r 6f2e37d0a1b0 -r 35b3ea156156 mod_auth_wordpress/mod_auth_wordpress.lua --- a/mod_auth_wordpress/mod_auth_wordpress.lua Sun Sep 11 22:53:23 2011 +0200 +++ b/mod_auth_wordpress/mod_auth_wordpress.lua Sun Sep 11 23:24:31 2011 +0200 @@ -84,7 +84,7 @@ local stmt, err = getsql("SELECT `user_pass` FROM `"..table_prefix.."users` WHERE `user_login`=?", username); if stmt then for row in stmt:rows(true) do - return row.user_password; + return row.user_pass; end end end