aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Removeaccount.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-20 17:55:40 -0700
committerredmatrix <git@macgirvin.com>2016-07-20 17:57:17 -0700
commitbc8c74eb422387a5537eb923c90a34c1196ce568 (patch)
tree4f8ba641908fd18cc810ee0086684a4041062231 /Zotlabs/Module/Removeaccount.php
parenteac35c05e9059ba57aefc878cc669eb0efbbd086 (diff)
downloadvolse-hubzilla-bc8c74eb422387a5537eb923c90a34c1196ce568.tar.gz
volse-hubzilla-bc8c74eb422387a5537eb923c90a34c1196ce568.tar.bz2
volse-hubzilla-bc8c74eb422387a5537eb923c90a34c1196ce568.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/Removeaccount.php')
-rw-r--r--Zotlabs/Module/Removeaccount.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Removeaccount.php b/Zotlabs/Module/Removeaccount.php
index 39e06bb7f..9fac7838e 100644
--- a/Zotlabs/Module/Removeaccount.php
+++ b/Zotlabs/Module/Removeaccount.php
@@ -25,7 +25,8 @@ class Removeaccount extends \Zotlabs\Web\Controller {
$account = \App::get_account();
$account_id = get_account_id();
- 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) {