Skip to content

NethSecurity controller: 2FA is enabled when cancelled #1376

@mrmarkuz

Description

@mrmarkuz

After clicking the "Configure 2FA" button in the account settings 2FA is enabled without confirming it by entering an OTP code and clicking "Configure".

Image

Steps to reproduce

  • Install NethSecurity controller
  • Go to account settings on the top right
  • Click "Configure 2FA"
  • Click "Cancel"
  • Refresh the page

Expected behavior

2FA isn't enabled

Actual behavior

2FA is enabled

Image

Components

NethSecurity controller 2.0.0

See also

https://community.nethserver.org/t/nethsec-controller-module-2fa-initialisation-bug/26345


Thanks to Matthieu Gaillet

Metadata

Metadata

Assignees

No one assigned

    Labels

    controllerThe issue is related to the controllerverifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Status

    Done ✅

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions