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

Activation of 2FA trough Database freeze login #691

Open
2 tasks done
matbgn opened this issue Dec 21, 2024 · 0 comments
Open
2 tasks done

Activation of 2FA trough Database freeze login #691

matbgn opened this issue Dec 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matbgn
Copy link

matbgn commented Dec 21, 2024

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

When activating 2FA in DB, Token window appears but login do not proceed.

I'm aware that UI will not be activated for an undefined time because of cluster implementation, and that this discussion will not be done for now: #477

But being able to activate on purpose based on actual code and only in DB given the fact that any member in the cluster could have the same twofa_secret thanks to manual setup would be very appreciated.

👟 Reproduction steps

docker exec -it dockge bash
sqlite3 data/dockge.db
UPDATE user SET twofa_secret = 'SECRET_REDACTED', twofa_status = 1 WHERE id=1;

👀 Expected behavior

Just activate underlying code:

let secret = "";

As done with Uptime: louislam/uptime-kuma#640

😓 Actual Behavior

Login freeze

Dockge Version

1.4.2

💻 Operating System and Arch

Ubuntu 22.04.2 LTS x64

🌐 Browser

Chromium Version 131.0.6778.139 (Official Build) snap (64-bit)

🐋 Docker Version

Docker version 24.0.2, build cb74dfc

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@matbgn matbgn added the bug Something isn't working label Dec 21, 2024
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

1 participant