-
-
Notifications
You must be signed in to change notification settings - Fork 617
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
Non admin users cannot login #884
Comments
This issue hasn't had any updates in a while. If this is still a problem, please create a new issue. |
This is still a reproducible issue on https://demo.statping.com 0.90.74. Only admin users can successfully use statping after logging in. |
I am running on the same release (v0.90.74) and only admin accounts can login with the same errors as described above when trying to login with non-admin accounts. |
This is a duplicate for: #651 |
This issue is still happening for me. v0.90.74 |
This issue is still happening for me as well on v0.90.74, is there going to be a resolution to this problem? it has been over 6 months now without a solution. your project is unusable without it. as we cannot have all users as admin. Hope this is not just another dead end release which is not being maintained. |
You aren't alone. There is growing concern this project may be abandoned. For example, #980 (comment) and #950. Though I do see the original author of the project, @hunterlong, merged a PR just a couple weeks ago so Idk. aa51554 |
i cant even login there , as admin : admin |
I switched to free monitoring from UptimeRobot, StatPing is useless in its current release state and most probably a dead project since it has not been updated in a while (since November 2020 when the first issue was reported) |
well uptimeRobot offers better UI but i like statping ( has better features ) , and was updated 15 days ago.. |
@Kos-M It's not just the demo page that is not working, even the deployed version is not... even if it has a better feature than UptimeRobot it is doesn't work, so it's useless. I would rather have limited functions that work 100% of the time rather than useless features that don't. And it wasn't updated 15 days ago, that was just a PR #895 the actual release hasn't been updated since Dec 18, 2020 |
@aasimenator indeed its a long time.. |
I also experience login issues after a fresh install with versions 0.90.74, 0.90.71, 0.90.70, 0.90.69. Installation was done with docker via Unraid. Database postgres 11 and sqlite. |
The problem is here Line 170 in aa51554
when you lookup what that authenticated function does you see that this only ever will return true for admin users statping/handlers/middleware.go Lines 110 to 111 in aa51554
Not sure if the function in routes.go should be wrapped in the scoped function instead or if the authenticated function should be fixed or that the frontend should never have asked for the /api/checkins endpoint for users in the first place |
if you comment out the following lines statping/frontend/src/store.js Lines 188 to 193 in aa51554
the dashboard loads correctly, with what i believe might the full user experience still intact. |
there seem to be some issues with private services when you do that though.
|
Hey ! It is an open source project with no income for the commiter from this project (I think). You can't tell the project is dead just because there is no reaction on a issue in five month. There is no RedHat or Oracle or IBM or Microsoft with big money behind the project. It is not blocking since :
Don't you think ? Furthermore, since it is on Github you can fork the project and correct it as you need. And even make a merge request to be kind. |
This issue hasn't had any updates in a while. If this is still a problem, please create a new issue. |
I don't think this issue is resolved :) |
Describe the bug
Create a non admin user and then attempt to log in as that user. This is reproducible in v0.90.69 and v0.90.71.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful log in with non admin access
Screenshots or Logs
Browser console:
Log shows a successful login:
2020-11-07 15:37:17 User nonadmin logged in from IP 176.215.65.89:55176
The text was updated successfully, but these errors were encountered: