]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-mydata.php
AJAX installation is 'basicly finished' :) Plus I threw in a small christmas present...
[mailer.git] / inc / modules / member / what-mydata.php
index 168fcacc7f40176a60b9b22a48789d00a3929620..e8a69633e3fb6174a479f08ab466af00f109099c 100644 (file)
@@ -231,8 +231,8 @@ LIMIT 1",
                        displayMessage('{--MEMBER_EMAIL_IS_ALREADY_REGISTERED--}');
                } else {
                        // Generate hash
-                       $hash = generateHash(postRequestElement('pass1'), substr($content['password'], 0, -40));
-                       if ((($hash == $content['password']) || (postRequestElement('pass1') == postRequestElement('pass2'))) && (isPostRequestElementSet('pass1'))) {
+                       $hash = generateHash(postRequestElement('password1'), substr($content['password'], 0, -40));
+                       if ((($hash == $content['password']) || (postRequestElement('password1') == postRequestElement('password2'))) && (isPostRequestElementSet('password1'))) {
                                // Only on simple changes normal mode is active = no email or password changed
                                $mode = 'normal';
                                $AND = '';