-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/api/get-user-count got number of users logged in always 0 #2233
Labels
enhancement
New feature or request
Comments
hsluoyz
added
invalid
This doesn't seem right
and removed
bug
Something isn't working
labels
Aug 9, 2023
hsluoyz
changed the title
[bug] /api/get-user-count got number of users logged in always 0
/api/get-user-count got number of users logged in always 0
Aug 9, 2023
hsluoyz
added
bug
Something isn't working
and removed
enhancement
New feature or request
invalid
This doesn't seem right
labels
Aug 11, 2023
hsluoyz
added
enhancement
New feature or request
and removed
bug
Something isn't working
labels
Sep 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The API
/api/get-user-count
gets the number of users logged in, but it's always 0? Even if a user is already logged in, it's still 0See: https://door.casdoor.com/api/get-user-count?isOnline=1 , result is always 0
This is because User's
isOnline
field is not set to true in any conditions. This feature is just not implemented yetThe text was updated successfully, but these errors were encountered: