-
I have Monica installed on a Heroku instance, and had multi factor authentication set up (within Monica). Unfortunately, I lost the Authenticator and recovery codes. Is there any way to recover with a command from the Heroku console (or CLI)? Or will to have to delete the app and completely reinstall? I can get into the server, but not the site. Really appreciate any help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I was able to shut off by downloading and editing my code. Below is from the config folder, google2fa php file. I simply changed the true to false, then redeployed. I followed the instructions for 'Deploy using Heroku Git', (Open Heroku GUI > Open App > Deploy tab > scroll down and see instructions for deploy using Heroku GIT) /*
I still need help though - I'm able to log back into Monica just fine now, but I don't see any option to turn back on 2FA. I'd like to set it up again. Is there a way I can reenable without getting locked out again?? I need to clear out my old 2FA details, so then I can set up new. Maybe I could delete my user account and re-add it? |
Beta Was this translation helpful? Give feedback.
-
Resolved; summary of steps, (1) I had to disable Google2FA (see notes above) which then allowed me to log in. (2) I then deleted my account in the Monica GUI and registered a new account with the same email. (3)Then updated the code to enable Google2FA again, so that I could set it back up (and save the recovery codes this time). |
Beta Was this translation helpful? Give feedback.
Resolved; summary of steps, (1) I had to disable Google2FA (see notes above) which then allowed me to log in. (2) I then deleted my account in the Monica GUI and registered a new account with the same email. (3)Then updated the code to enable Google2FA again, so that I could set it back up (and save the recovery codes this time).