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

"Enable TOTP" checkbox gets ticked even if its not enabled successfully. #1313

Closed
theronakpatel opened this issue Jan 10, 2023 · 2 comments
Closed

Comments

@theronakpatel
Copy link

Summary

Enable TOTP checkbox gets check marked even if we cancel enabling it. And hitting the ticked checkbox again results in endless loop. Reloading the page in any case shows the correct unchecked behavior.

The problem

  • login to nextcloud
  • Click Avatar on the top right and go to Settings >> Security
  • Under Two Factor Authentication, Hit the enable TOTP checkbox
  • Click cross on the Authentication required popup to cancel enabling the checkbox
  • User receives Could not enable TOTP notification but the checkbox is shown as ticked
  • Now Try unchecking the checkbox which will result it in endless loading.
  • Now reload the page so it shows the box unchecked as desired.

What is the current behavior?

User receives Could not enable TOTP notification but the checkbox is shown as ticked, until the next reload of the page.

What is the expected correct behavior?

If Enabling TOTP fails the checkbox should remain unchecked. And ticked only when TOTP is successfully enabled.

Relevant screenshots

Screenshot_from_2022-07-12_15-06-42

Screenshot_2022-10-25_at_15 58 19

Screenshot_2022-10-25_at_15 58 30

@theronakpatel
Copy link
Author

Linked MR: #1314

@theronakpatel
Copy link
Author

MR is merged, so closing this issue.

@chiotisn Can please prepare new release so that we can get this feature too.

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

1 participant