mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #682] 2FA Support: reset user 2fa #492
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @louissegal on GitHub (Jul 30, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/682
Is there scope to reset 2fa/disable 2fa from an already active user?
Somehow it's now telling me my 2fa codes are invalid
I've gone into the running container and with manage.py created a new superuser to login and get into admin console, but I don't see any way to remove 2fa from a user
Thanks
Edit: for some reason the 2fa is now not locked out, but being able to remove 2fa from the admin portal would still be a helpful feature.
@cuu508 commented on GitHub (Aug 1, 2022):
The 2FA credentials are stored in the
accounts_credentialdatabase table. Deleting rows from this table disables 2FA for the corresponding user(s). When you're logged in as a superuser, you can go to/admin/accounts/credential/and delete the credentials from there, or you can runDELETEqueries from the database shell.