On the GitHub page for auth.service.ts, line 123 is incorrect. In your video at 7:19 you show the correct way to do it.
It should be:
if (!user.otp.otpVerified)
But in GitHub it is:
if (user.otp.otpVerified)
Which causes an error to happen every time the code runs the postValidateTFAToken() function.
I posted this on the YouTube video as well incase anyone runs into this problem.
On the GitHub page for auth.service.ts, line 123 is incorrect. In your video at 7:19 you show the correct way to do it.
It should be:
if (!user.otp.otpVerified)
But in GitHub it is:
if (user.otp.otpVerified)
Which causes an error to happen every time the code runs the postValidateTFAToken() function.
I posted this on the YouTube video as well incase anyone runs into this problem.