hopefully fix #919
This commit is contained in:
parent
53e908d7b7
commit
9cd7546be5
@ -9,7 +9,6 @@ function removeaccount_post(&$a) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
|
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
|
||||||
notice( t('Password not correct.') . EOL);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
|
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
|
||||||
@ -23,7 +22,6 @@ function removeaccount_post(&$a) {
|
|||||||
$account_id = get_account_id();
|
$account_id = get_account_id();
|
||||||
|
|
||||||
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
|
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
|
||||||
notice( t('Password not correct.') . EOL);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if($account['account_password_changed'] != NULL_DATE) {
|
if($account['account_password_changed'] != NULL_DATE) {
|
||||||
|
@ -9,7 +9,6 @@ function removeme_post(&$a) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
|
if((! x($_POST,'qxz_password')) || (! strlen(trim($_POST['qxz_password']))))
|
||||||
notice( t('Password not correct.') . EOL);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
|
if((! x($_POST,'verify')) || (! strlen(trim($_POST['verify']))))
|
||||||
@ -22,7 +21,6 @@ function removeme_post(&$a) {
|
|||||||
$account = $a->get_account();
|
$account = $a->get_account();
|
||||||
|
|
||||||
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
|
if(! account_verify_password($account['account_email'],$_POST['qxz_password']))
|
||||||
notice( t('Password not correct.') . EOL);
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if($account['account_password_changed'] != NULL_DATE) {
|
if($account['account_password_changed'] != NULL_DATE) {
|
||||||
|
Reference in New Issue
Block a user