1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Registered user count

This commit is contained in:
Chen-I Lim
2021-01-27 09:22:33 -08:00
parent fb4bc643d3
commit d641039131
6 changed files with 36 additions and 25 deletions

View File

@ -138,7 +138,7 @@ func (a *API) handleRegister(w http.ResponseWriter, r *http.Request) {
}
} else {
// No signup token, check if no active users
userCount, err := a.app().GetActiveUserCount()
userCount, err := a.app().GetRegisteredUserCount()
if err != nil {
errorResponse(w, http.StatusInternalServerError, nil, err)
return