public function reset2faAction()
    {
        $user = $this->getSelectedUser();
        $user->clearTwoFactorKey();
        $this->addMessage(
                sprintf($this->_('Two factor key cleared for user %s'),
                        $user->getLoginName()),
                'success');
        $router = \Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');
        $router->gotoRoute(['controller'=>'staff', 'action'=>'show'], null, false);
    }
public function reset2faAction()
    {
        $user = $this->getSelectedUser();
        $user->clearTwoFactorKey();
        $this->addMessage(
                sprintf($this->_('Two factor key cleared for user %s'),
                        $user->getLoginName()),
                'success');
        $router = \Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');
        $router->gotoRoute(['controller'=>'staff', 'action'=>'show'], null, false);
    }
public function reset2faAction ( ) { $ user = $ this -> getSelectedUser ( ) ; $ user -> clearTwoFactorKey ( ) ; $ this -> addMessage ( sprintf ( $ this -> _ ( 'Two factor key cleared for user %s' ) , $ user -> getLoginName ( ) ) , 'success' ) ; $ router = \ Zend_Controller_Action_HelperBroker :: getStaticHelper ( 'redirector' ) ; $ router -> gotoRoute ( [ 'controller' => 'staff' , 'action' => 'show' ] , null , false ) ; }
reset two factor authentication
reset two factor authentication