lorthirk/kapua

Enable/Disable MFA Button in MFA not Working Properly

Opened this issue · 0 comments

Button in Mfa is not getting refreshed if user enables/disabled MFA, even if you change views to e.g. Devices or Tags. You have to press F5 in order to refresh it.

Testflow:

  1. Login as kapua-sys or any other user that has proper permissions
  2. Go to Users, create a user (e.g. user1)
  3. Assgin user1 admin role
  4. Login as user1, go to Users, select user1 and click on MFA tab
  5. Open menu on upper right corner -> MFA -> click Enable
  6. refresh the page by pressing F5
  7. Go to Users, select user1 -> MFA
  8. Click upper right menu, and disable the MFA
  9. Change views from Users to e.g. Devices or Tags, return to Users, select user1 -> MFA
  10. Observe the button for enabling/disabling MFA - it does not get refreshed even when views are changed.

Expected behavior
MFA button should change its "stateS" according to the MFA

Screenshots
/

Version of Kapua
1.3.0

Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others

Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[ ] - Others