Mercurial > prosody-modules
diff mod_auth_wordpress/mod_auth_wordpress.lua @ 427:35b3ea156156
mod_auth_wordpress: Fix wrong column name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Sep 2011 23:24:31 +0200 |
parents | 6f2e37d0a1b0 |
children | a46c2326eed7 |
line wrap: on
line diff
--- 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