From c29261487cdecda4282df25769540bc4fa20631d Mon Sep 17 00:00:00 2001 From: Hilmar R Date: Wed, 3 Mar 2021 12:59:19 +0100 Subject: a bit more useability for the admin at the beginning --- Zotlabs/Module/Admin/Accounts.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php index 74e562a9c..7073f026a 100644 --- a/Zotlabs/Module/Admin/Accounts.php +++ b/Zotlabs/Module/Admin/Accounts.php @@ -187,11 +187,12 @@ class Accounts { */ $tao = 'tao.zar.zarax = ' . "'" . '' . "';\n"; + // better useability at the moment to tell all (ACCOUNT_PENDING >= 0) instead of (> 0 for those need approval) $pending = q("SELECT @i:=@i+1 AS reg_n, @i MOD 2 AS reg_z, " ." reg_did2, reg_created, reg_startup, reg_expires, reg_email, reg_atip, reg_hash, reg_id, " ." CASE (reg_flags & %d) WHEN 0 THEN '✔ verified' WHEN 1 THEN '× not yet' END AS reg_vfd " ." FROM register, (SELECT @i:=0) AS i " - ." WHERE reg_vital = 1 AND (reg_flags & %d) > 0 ", + ." WHERE reg_vital = 1 AND (reg_flags & %d) >= 0 ", intval(ACCOUNT_UNVERIFIED), intval(ACCOUNT_PENDING) ); -- cgit v1.2.3