changeset 425:34eb9df9e37f

mod_auth_wordpress: Fix hash identifier.
author Kim Alvefur <zash@zash.se>
date Sun, 11 Sep 2011 22:05:13 +0200
parents 22935ef37284
children 6f2e37d0a1b0
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 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);