Magento expects admin controllers to override the _isAllowed method and check if the admin user is allowed access. If omitted, the default behavior of recent Magento versions can return false if the user has a limited set of permissions, notably the dashboard permission. Since we must allow all admin users access to the 2fa forms to complete login, simply returning true resolves this.
Fixes issue #6
Magento expects admin controllers to override the
_isAllowed
method and check if the admin user is allowed access. If omitted, the default behavior of recent Magento versions can returnfalse
if the user has a limited set of permissions, notably the dashboard permission. Since we must allow all admin users access to the 2fa forms to complete login, simply returningtrue
resolves this.