Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Not possible to login when TwoFactor is enabled in UserSettings #4947

Open
beolafsen opened this issue Dec 21, 2024 · 5 comments
Open

Comments

@beolafsen
Copy link
Contributor

Oqtane Info

Version - 6.0.1

Describe the bug

System hang on login after keyin TwoFactorCode.

Steps To Reproduce

Activate TwoFactor in User Settings

Solution?

When changing this code it works for me:
image

but maybe it should be like this:
image

@sbwalker
Copy link
Member

@beolafsen were you able to confirm that this is a new problem in 6.0.1 (ie. it worked in prior versions)?

@sbwalker
Copy link
Member

It appears this could be related to PR #4861 - @zyhfish are you able to take a look?

zyhfish added a commit to zyhfish/oqtane.framework that referenced this issue Dec 23, 2024
@zyhfish
Copy link
Contributor

zyhfish commented Dec 23, 2024

Hi @sbwalker , submitted PR #4948 to handle this.

@sbwalker
Copy link
Member

There are 3 options for Two Factor Authentication (2FA) in User Settings:

Disabled (false) - means that 2FA is disabled for the Site
Optional (true) - means that 2FA is enabled for the Site but is controlled by the setting on each individual user account
Required (required) - means that 2FA is required for all users in order to login to the Site

@beolafsen when you say that you "activated TwoFactor in User Settings" which option did you choose - Optional or Required?

@beolafsen
Copy link
Contributor Author

beolafsen commented Dec 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants