Allow to re-auth by using the U2F token

This commit is contained in:
Raphael Michel
2018-04-26 20:24:03 +02:00
parent 30f8afca85
commit 97bf958b74
4 changed files with 62 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ $(function () {
if (data.errorCode && data.errorCode != 5) {
$("#u2f-error").removeClass("sr-only");
} else {
$('#u2f-response').val(JSON.stringify(data));
$('#u2f-response, #id_password').val(JSON.stringify(data));
$('#u2f-form').submit();
}
}, 300);