_2fa\CMSProfileController
Synopsis
class CMSProfileController
extends CMSProfileController
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void getEditForm()
- private void addTokenInfo()
- private void addBackupTokenInfo()
- public SS_HTTPResponse regenerate_token()
- public SS_HTTPResponse load_token_data()
- public SS_HTTPResponse verify_and_activate()
- public SS_HTTPResponse verify_and_deactivate()
- public void regenerate_backup_tokens()
- public void handleRequest()
Hierarchy
Extends
- CMSProfileController
Members
private
- $allowed_actions
Methods
private
public
- getEditForm()
- handleRequest() — Override handleRequest: Need to fix the returned X-Controller header so that CMSMenu works properly.
- load_token_data() — Function to allow loading secret/QR code via Ajax
- regenerate_backup_tokens()
- regenerate_token() — This form action may get triggered to manually refresh secret/token when running in 'fixed' token mode (regenerate_on_activation = false)
- verify_and_activate() — Function to allow verification & activation of two-factor-auth via Ajax
- verify_and_deactivate() — Function to allow verification of password & dectivation of two-factor-auth via Ajax