Describe the bug
The count of users and spaces as reported by api/status and the frontpage are different. They should be consistent (use same code to get the numbers).
It also looks like the user count might not be correct. The number is incremented when a token is created, but this is not when the user is signed up. See
|
appConfig.incrementCount('users, 1) |
If we use another login mechanism that does not use the token, the number can be wrong as well, better to add the code at https://github.com/clowder-framework/clowder/blob/develop/app/services/SecureSocialEventListener.scala
For example, this is the same instance:

and

Describe the bug
The count of users and spaces as reported by api/status and the frontpage are different. They should be consistent (use same code to get the numbers).
It also looks like the user count might not be correct. The number is incremented when a token is created, but this is not when the user is signed up. See
clowder/app/controllers/Users.scala
Line 67 in 3b84e70
If we use another login mechanism that does not use the token, the number can be wrong as well, better to add the code at https://github.com/clowder-framework/clowder/blob/develop/app/services/SecureSocialEventListener.scala
For example, this is the same instance:
and