Software /
code /
prosody-modules
Diff
mod_auth_wordpress/mod_auth_wordpress.lua @ 425:34eb9df9e37f
mod_auth_wordpress: Fix hash identifier.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 11 Sep 2011 22:05:13 +0200 |
parent | 424:22935ef37284 |
child | 426:6f2e37d0a1b0 |
line wrap: on
line diff
--- a/mod_auth_wordpress/mod_auth_wordpress.lua Sun Sep 11 21:59:01 2011 +0200 +++ b/mod_auth_wordpress/mod_auth_wordpress.lua Sun Sep 11 22:05:13 2011 +0200 @@ -155,7 +155,7 @@ end local function hashGensaltPrivate(input) local iteration_count_log2 = 6; - local output = "$H$"; + local output = "$P$"; local idx = math.min(iteration_count_log2 + 5, 30) + 1; output = output .. itoa64:sub(idx, idx); output = output .. hashEncode64(input, 6);