Documentation

Mage_Admin_Model_Observer
in package

Table of Contents

Constants

FLAG_NO_LOGIN  : mixed = 'no-login'
TWOFA_ALLOWED_ACTIONS  : mixed = ['system_account/index', 'system_account/save',...
Reachable while mandatory 2FA blocks the rest of the backend: the enrollment page, its POST handler, the passkey registration calls it makes, and logging out.

Methods

actionPreDispatchAdmin()  : mixed
Handler for controller_action_predispatch event
enforceMandatoryTwofa()  : void
Send an admin user who did not enroll in 2FA to the enrollment page once the store requires it. Before the configured date the user only sees a reminder.
_getActionPath()  : string

Constants

FLAG_NO_LOGIN

public mixed FLAG_NO_LOGIN = 'no-login'

TWOFA_ALLOWED_ACTIONS

Reachable while mandatory 2FA blocks the rest of the backend: the enrollment page, its POST handler, the passkey registration calls it makes, and logging out.

private mixed TWOFA_ALLOWED_ACTIONS = ['system_account/index', 'system_account/save', 'index/passkeyregisterstart', 'index/logout']

Methods

actionPreDispatchAdmin()

Handler for controller_action_predispatch event

public actionPreDispatchAdmin(Observer $observer) : mixed
Parameters
$observer : Observer
Attributes
#[Observer]
'controller_action_predispatch'
$area: 'adminhtml'
$id: 'auth'

enforceMandatoryTwofa()

Send an admin user who did not enroll in 2FA to the enrollment page once the store requires it. Before the configured date the user only sees a reminder.

public enforceMandatoryTwofa(Observer $observer) : void
Parameters
$observer : Observer
Attributes
#[Observer]
'controller_action_predispatch'
$area: 'adminhtml'
$id: 'twofa'
On this page

Search results