MFA TOTP not working anymore #644

Closed
opened 2025-11-13 12:06:37 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @cyrrelsneer on GitHub (Sep 4, 2025).

Hi,

yesterday I have updated to 1.92 (coming from I think 1.72).
Not sure if that is the origin of my problem, because I have used the same machine for a while where I didn't need MFA.
Well not when trying to login on a new machine, it always says that my Auth Code is wrong (using Bitwarden for that and other TOTP protected sites still work, so I assume no problem with Bitwarden).
I have tried to remove the MFA via one PC where I still have access, but of course I need a TOTP token in order to remove it.

Is there a way of removing this on file level? Or is my installation doomed? Any help would be highly appreciated - and also maybe I am not the only person with that problem?

thanks!

edit: I have tried to add another admin account - but it says after clicking the link that the invitation is not valid anymore!?

Originally created by @cyrrelsneer on GitHub (Sep 4, 2025). Hi, yesterday I have updated to 1.92 (coming from I think 1.72). Not sure if that is the origin of my problem, because I have used the same machine for a while where I didn't need MFA. Well not when trying to login on a new machine, it always says that my Auth Code is wrong (using Bitwarden for that and other TOTP protected sites still work, so I assume no problem with Bitwarden). I have tried to remove the MFA via one PC where I still have access, but of course I need a TOTP token in order to remove it. Is there a way of removing this on file level? Or is my installation doomed? Any help would be highly appreciated - and also maybe I am not the only person with that problem? thanks! edit: I have tried to add another admin account - but it says after clicking the link that the invitation is not valid anymore!?
Author
Owner

@cyrrelsneer commented on GitHub (Sep 4, 2025):

I was able to find the entry in the db.sqlite and it's working again, but still not sure why it happened in the first place

@cyrrelsneer commented on GitHub (Sep 4, 2025): I was able to find the entry in the db.sqlite and it's working again, but still not sure why it happened in the first place
Author
Owner

@oschwartz10612 commented on GitHub (Sep 4, 2025):

Did you just disable it in the database? I just tested on the latest
version and I think it is working? This can break if the time of your
server is off. Could you make sure the time is right?

@oschwartz10612 commented on GitHub (Sep 4, 2025): Did you just disable it in the database? I just tested on the latest version and I think it is working? This can break if the time of your server is off. Could you make sure the time is right?
Author
Owner

@cyrrelsneer commented on GitHub (Sep 4, 2025):

Date and time are looking good.
Haven't enabled it again and it was working for quite a while, but I can give it a shot again and see how it goes
I think there were two entries that I have changed in my user data (not sure which table it was). One was to set the mfa from one to zero and the other was setting some hash I think to null in a different column

@cyrrelsneer commented on GitHub (Sep 4, 2025): Date and time are looking good. Haven't enabled it again and it was working for quite a while, but I can give it a shot again and see how it goes I think there were two entries that I have changed in my user data (not sure which table it was). One was to set the mfa from one to zero and the other was setting some hash I think to null in a different column
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#644