Count only verified users on /statistics page
With bot attacks it’s easy to create a large number of users that seemingly let the site grow. Statistics should show a more trustworthy number.
- in
Coocook::Schema->statistics()
-
rename the key users
toverified_users
-
reduce the User resultset to verified users before calling count()
-
-
adjust the hash key name in the users <div>
inroot/templates/statistics.tt
-
adjust the hash key name the statistics
subtest int/schema.t
Edited by Daniel Böhmer