Skip to content

Commit c8d0853

Browse files
authored
Merge pull request #1205 from wizarrrr/fix/1126-passkey-registration
fix: correct Jinja2 syntax in passkey registration template
2 parents 8298794 + 7b70be9 commit c8d0853

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

app/templates/components/passkey_register.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ <h3 class="text-lg font-medium text-gray-900 dark:text-white mb-4">{{ _("Create
2323
</div>
2424
<script>
2525
(function() {
26-
const options = {
27-
{
28-
options | tojson
29-
}
30-
};
26+
const options = {{ options | tojson }};
3127

3228
// Convert base64url to Uint8Array for WebAuthn API
3329
function base64urlToUint8Array(base64url) {

0 commit comments

Comments
 (0)