dashy
dashy copied to clipboard
[BUG] Auth doesn't work even i added users to appConfig.auth
Environment
Self-Hosted (Docker)
System
Debian 12
Version
2.1.1
Describe the problem
I have configured the auth object like the following
appConfig:
auth:
enableGuestAccess: false
users:
- user: <redact>
hash: <redact>
type: admin
The problem is anyone can still access to my homepage. I've tried restarted the server, but it doesn't work.
Additional info
No response
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated
Many reports of this issue. We have this issue also. Is this being worked on? Seems to me this is a high priority bug.
I've got this issue too (version: 2.1.1).
Problem:
- Open page in browser (doesn't matter if I put http://ip or http://ip/login)
- Main page appear (expected login page)
- There is no login section*
- Just only after trying to change view to any option login page appear (this open http://ip/login, but that time correctly)
- When paste login and password and clicking login button I am logged correctly as expected, but when login page appear when I refresh page I am again at main page (http://ip)
- Login section show in when I correctly logged in.
Edit: version 2.1.0 works good
Any word on this?
This issue has gone 3 months without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.
@Lissy93 Think this is a duplicate and could be closed in favor of #990 ?