X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fregister.php;h=c09d68dc278756a0c86b399e289505d09aff5128;hb=1c0419d6b4c94643bfa7bed9a6b435bbdbbae02f;hp=34c3ed1412d27663032218b0269f493af1deecb8;hpb=4baa73230fd89061a8e53904cf633e10c42d8603;p=platal.git diff --git a/modules/register.php b/modules/register.php index 34c3ed1..c09d68d 100644 --- a/modules/register.php +++ b/modules/register.php @@ -179,7 +179,7 @@ class RegisterModule extends PLModule $subState->set('services', $services); // Validate the password. - if (!Post::v('response2', false)) { + if (!Post::v('pwhash', false)) { $error[] = "Le mot de passe n'est pas valide."; } @@ -211,7 +211,7 @@ class RegisterModule extends PLModule $subState->set('birthdate', sprintf("%04d-%02d-%02d", intval($birth[2]), intval($birth[1]), intval($birth[0]))); $subState->set('email', Post::t('email')); - $subState->set('password', Post::t('response2')); + $subState->set('password', Post::t('pwhash')); // Update the current alert if the birthdate is incorrect, // or if the IP address of the user has been banned.