Software /
code /
prosody-modules
Changeset
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 | 426:6f2e37d0a1b0 |
children | 428:a46c2326eed7 |
files | mod_auth_wordpress/mod_auth_wordpress.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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