lemonldap-ng/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.js
Christophe Maudoux 4a0b092e7c make json
2020-01-15 22:12:02 +01:00

23 lines
493 B
JavaScript

// Generated by CoffeeScript 1.12.7
/*
LemonLDAP::NG U2F verify script
*/
(function() {
var check;
check = function() {
return u2f.sign(window.datas.appId, window.datas.challenge, window.datas.registeredKeys, function(data) {
$('#verify-data').val(JSON.stringify(data));
$('#verify-challenge').val(window.datas.challenge);
return $('#verify-form').submit();
});
};
$(document).ready(function() {
return setTimeout(check, 1000);
});
}).call(this);