diff options
author | redmatrix <git@macgirvin.com> | 2016-07-20 17:55:40 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-20 17:55:40 -0700 |
commit | 3affb2e8172b4cc673aafe9551c21dad6f606d87 (patch) | |
tree | 446d143aa2b47b8fd710b5a4920ee63196b8fe34 /Zotlabs/Module/Removeme.php | |
parent | d54ad9880252cf8c6d2c61a01680279741735a36 (diff) | |
download | volse-hubzilla-3affb2e8172b4cc673aafe9551c21dad6f606d87.tar.gz volse-hubzilla-3affb2e8172b4cc673aafe9551c21dad6f606d87.tar.bz2 volse-hubzilla-3affb2e8172b4cc673aafe9551c21dad6f606d87.zip |
sort out some of the authentication mess - with luck this may fix the DAV auth issue which I simply could not duplicate or find a reason for.
Diffstat (limited to 'Zotlabs/Module/Removeme.php')
-rw-r--r-- | Zotlabs/Module/Removeme.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Removeme.php b/Zotlabs/Module/Removeme.php index e611d8112..bc18fe0f8 100644 --- a/Zotlabs/Module/Removeme.php +++ b/Zotlabs/Module/Removeme.php @@ -24,7 +24,9 @@ class Removeme extends \Zotlabs\Web\Controller { $account = \App::get_account(); - if(! account_verify_password($account['account_email'],$_POST['qxz_password'])) + + $x = account_verify_password($account['account_email'],$_POST['qxz_password']); + if(! ($x && $x['account'])) return; if($account['account_password_changed'] != NULL_DATE) { |