Skip to content
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

Login Issue as a normal user #272

Open
gpark608 opened this issue Feb 13, 2024 · 4 comments
Open

Login Issue as a normal user #272

gpark608 opened this issue Feb 13, 2024 · 4 comments
Labels
Bug Something isn't working

Comments

@gpark608
Copy link

gpark608 commented Feb 13, 2024

  1. Deploy statping-ng using kubernetes deployment resource (image=adamboutcher/statping-ng).
  2. choose sqlite, Name: test, ID/Passwd: admin/admin, Turn off Notification, Leave email section blank.
  3. Go To Dashboard -> login -> User tab
  4. Create an user ID/Passwd: test/test. DO NOT provide this user an admin permission. Email: test@test.ca
  5. Logout
  6. refresh the page -> Dashboard -> Try to login with ID/Passwd: test/test
  7. It gets stuck in a loop. Does not let test/test user into the dashboard.
@gpark608
Copy link
Author

If I provide test/test user an admin permission, then the login works.

@gpark608 gpark608 changed the title Login Issue was a normal user Login Issue as a normal user Feb 13, 2024
@NekoLuka
Copy link

NekoLuka commented Apr 6, 2024

As far as I get with googling, it seems that the problem lies in the upstream project. The lines of code mentioned in the linked issue appear to be the problem.
statping#884 (comment)

@NekoLuka
Copy link

NekoLuka commented Apr 6, 2024

This seems to be fixed in version 0.91.0 though. This image is however not available through docker hub, but you need to use the ghcr service

@adamboutcher
Copy link
Collaborator

FYI this change may be reverted soon due to other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants