aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Removeaccount.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Removeaccount.php')
-rw-r--r--Zotlabs/Module/Removeaccount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Removeaccount.php b/Zotlabs/Module/Removeaccount.php
index 9fac7838e..9d2bbd0de 100644
--- a/Zotlabs/Module/Removeaccount.php
+++ b/Zotlabs/Module/Removeaccount.php
@@ -29,7 +29,7 @@ class Removeaccount extends \Zotlabs\Web\Controller {
if(! ($x && $x['account']))
return;
- if($account['account_password_changed'] != NULL_DATE) {
+ if($account['account_password_changed'] > NULL_DATE) {
$d1 = datetime_convert('UTC','UTC','now - 48 hours');
if($account['account_password_changed'] > d1) {
notice( t('Account removals are not allowed within 48 hours of changing the account password.') . EOL);