NamelessMC / Nameless

NamelessMC is a free, easy to use & powerful website software for your Minecraft server, which includes a large range of features.
https://namelessmc.com/
MIT License
598 stars 313 forks source link

Force Two Factor Authentication for group members. #3495

Open MakeItReaal opened 3 months ago

MakeItReaal commented 3 months ago

Describe the issue

I turned on Force Two Factor Authentication for group members. But when entering the scan codes we are getting Invalid code, please try again.

NamelessMC Version

Development version

To Reproduce

  1. Go to Groups.
  2. Click on a group.
  3. turn on Force Two Factor Authentication for group members
  4. Scan QR code.
  5. See error: Invalid code, please try again.

Also when i just got to my account and enable 2fa from there it works! But when Forcing Two Factor Authentication for group members you get the Invalid code, please try again.

Expected Behaviour

Enable 2fa for the accounts.

Screenshots

No response

Additional Information

PHP 8.1.27 Updated to PHP 8.3.3 NamelessMC Version: 2.1.2

2fa: Okta Verify. microsoft authenticator

Derkades commented 3 months ago

Please ensure the client and server time are both accurate

MakeItReaal commented 3 months ago

Please ensure the client and server time are both accurate

Can you sent a printscreen with what u ment?

MakeItReaal commented 3 months ago

client and server time are both accurate Still got the same problem saying code invalid.