<?php if (php_sapi_name() != 'cli') { if (UL_PREVENT_CLICKJACK) { header('X-Frame-Options: SAMEORIGIN'); } if (UL_HTTPS || UL_HSTS > 0) { if (!ulUtils::IsHTTPS()) { header('HTTP/1.1 301 Moved Permanently'); header('Location: ' . ulUtils::CurrentURL(true, 'https')); exit(0); } else { if (UL_HSTS > 0) { header('Strict-Transport-Security: max-age=' . (string) UL_HSTS); } } } }
<?php // ******************************** // DO NOT MODIFY // ******************************** $returnUrl = ulUtils::CurrentURL(); $sig_request = Duo::signRequest(UL_DUOSEC_IKEY, UL_DUOSEC_SKEY, UL_DUOSEC_AKEY, $uid); // ******************************** // MAKE MODIFICATION BELOW WHERE NOTED // If possible, only insert but do not modify // ******************************** // ******************************** // Your HTML here // doctype, head, title etc. // ******************************** ?> <script src="<?php echo UL_DUOSEC_JQUERY_URI; ?> "></script> <script src="<?php echo UL_DUOSEC_JS_URL; ?> "></script> <script> Duo.init({ 'host':'<?php echo UL_DUOSEC_HOST; ?> ', 'post_action':'<?php