MFA code issues (first time incorrect, second time correct)

0
Hello! We’ve implemented the MFAModule and having an odd issue.  MFA is configured okay as far as I can see, when a user puts in their credentials it sends them to MFA code, however it it comes up as code incorrect when they click sign in. The odd thing is that if the user clicks save again it works fine.  Has anyone come across this before?   EDIT: I initially thought this could have been due to the code not saving to the database by the time the user clicks sign in, evidence being that if you wait several seconds then click sign in, it works fine. I’ve added in an earlier commit to make sure the code is on the database before the user can input, however I still get the issue.
asked
0 answers