Commit 9a3b1038 authored by o@immerda.ch's avatar o@immerda.ch
Browse files

for updating webauthn gem

parent 01593e90
......@@ -21,8 +21,8 @@ var options = <%= @options.to_json.html_safe %>
function do_register() {
options.challenge = str2ab(options.challenge);
for (var i = 0; i < options.exclude_credentials.length; i++) {
options.exclude_credentials[i].id = str2ab(options.exclude_credentials[i].id);
for (var i = 0; i < options.excludeCredentials.length; i++) {
options.excludCredentials[i].id = str2ab(options.excludeCredentials[i].id);
}
options.user.id = str2ab(options.user.id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment