rystaf / mlmym

a familiar desktop experience for lemmy
GNU Affero General Public License v3.0
251 stars 16 forks source link

Add 2-Factor Login Support to the Login Form #36

Closed arifwn closed 1 year ago

arifwn commented 1 year ago

Currently, attempting to login using an account with 2FA enabled will result in 400 Bad Request: missing_totp_token.

Screenshot:

Screenshot from 2023-07-16 16-11-27

rystaf commented 1 year ago

Once you get that error message, you should see another login prompt below but this time it will include a 2fa field. You'll need to enter your login credentials once more and include your TOTP code.

image

arifwn commented 1 year ago

Ah sorry, I mistook it for the signup form. I can successfully login using 2FA.