forked from D3Public/oxtotp
20 lines
707 B
Smarty
20 lines
707 B
Smarty
[{* from https://github.com/jcjones/webauthn.bin.coffee *}]
|
|
|
|
[{oxscript include=$oViewConf->getModuleUrl('d3totp', 'out/src/js/index.js')}]
|
|
|
|
[{capture name="d3script"}]
|
|
var creationOptions = [{$creationOptions}];
|
|
createCredentials(creationOptions);
|
|
[{/capture}]
|
|
[{oxscript add=$smarty.capture.d3script}]
|
|
--A--
|
|
<form id="webauthn" action="[{$oViewConf->getSelfActionLink()}]" method="post">
|
|
[{$oViewConf->getHiddenSid()}]
|
|
[{$oViewConf->getNavFormParams()}]
|
|
<input type="hidden" name="fnc" value="saveAuthn">
|
|
<input type="hidden" name="cl" value="[{$oViewConf->getActiveClassName()}]">
|
|
<input type="hidden" name="credential" value='credent'>
|
|
</form>
|
|
--B--
|
|
|
|
[{$smarty.block.parent}] |