From 854a6e378703d096e8c9c4910600d3da6e854a5c Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 18 Mar 2021 14:56:53 +0000 Subject: air: only set registration request to expired if it is not yet verified --- Zotlabs/Module/Admin/Accounts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php index d4a632901..eab3f15c8 100644 --- a/Zotlabs/Module/Admin/Accounts.php +++ b/Zotlabs/Module/Admin/Accounts.php @@ -196,11 +196,11 @@ class Accounts { $pending[$n]['reg_atip'] = $v['reg_atip'] . ' ◄' . $atipn[ $v['reg_atip'] ] . '×'; } - $pending[$n]['status'] = t('Not yet verified'); + $pending[$n]['status'] = t('Not verified'); if($pending[$n]['reg_vfd']) $pending[$n]['status'] = t('Verified'); - if($pending[$n]['reg_expires'] < datetime_convert()) + if(!$pending[$n]['reg_vfd'] && $pending[$n]['reg_expires'] < datetime_convert()) $pending[$n]['status'] = t('Expired'); $pending[$n]['reg_created'] = datetime_convert('UTC', date_default_timezone_get(), $pending[$n]['reg_created']); -- cgit v1.2.3