Skip to content

Fix bugs with WebAuthn preventing sign in and registration. #22651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 1, 2023
2 changes: 1 addition & 1 deletion web_src/js/features/user-auth-webauthn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import $ from 'jquery';

const {appSubUrl, csrfToken} = window.config;

function encodeToBase64(toEncode) {
function encodeToBase64(toEncode /* Uint8Array */) {
const output = [];
for (let i = 0; i < toEncode.length; i++) {
output.push(String.fromCharCode(toEncode[i]));
Expand Down