dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] Auth doesn't work even i added users to appConfig.auth

Open npty opened this issue 2 years ago • 4 comments

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

npty avatar Sep 09 '23 10:09 npty

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

liss-bot avatar Sep 09 '23 10:09 liss-bot

Many reports of this issue. We have this issue also. Is this being worked on? Seems to me this is a high priority bug.

DSI-dot-Guru avatar Sep 10 '23 20:09 DSI-dot-Guru

I've got this issue too (version: 2.1.1).

Problem:

  1. Open page in browser (doesn't matter if I put http://ip or http://ip/login)
  2. Main page appear (expected login page)
  3. There is no login section*
  4. Just only after trying to change view to any option login page appear (this open http://ip/login, but that time correctly)
  5. 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

7Adrian avatar Sep 11 '23 01:09 7Adrian

Any word on this?

DSI-dot-Guru avatar Sep 28 '23 16:09 DSI-dot-Guru

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.

liss-bot avatar Dec 28 '23 01:12 liss-bot

@Lissy93 Think this is a duplicate and could be closed in favor of #990 ?

CrazyWolf13 avatar Jan 01 '24 13:01 CrazyWolf13