jsLayout['components']['msp-twofactorauth-auth']['postUrl'] = $this->getUrl('*/*/authpost'); $this->jsLayout['components']['msp-twofactorauth-auth']['tokenRequestUrl'] = $this->getUrl('*/*/token'); $this->jsLayout['components']['msp-twofactorauth-auth']['oneTouchUrl'] = $this->getUrl('*/*/onetouch'); $this->jsLayout['components']['msp-twofactorauth-auth']['verifyOneTouchUrl'] = $this->getUrl('*/*/verifyonetouch'); $this->jsLayout['components']['msp-twofactorauth-auth']['successUrl'] = $this->getUrl($this->_urlBuilder->getStartupPageUrl()); return parent::getJsLayout(); } }