From c38b3c768c9edc13c20dc8c3e74c3ba12de8c27a Mon Sep 17 00:00:00 2001 From: devStorm <59678453+developStorm@users.noreply.github.com> Date: Thu, 7 May 2020 02:34:19 -0700 Subject: [PATCH] fix SimpleLogin brand name --- app/dashboard/templates/dashboard/fido_setup.html | 2 +- app/dashboard/views/fido_setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dashboard/templates/dashboard/fido_setup.html b/app/dashboard/templates/dashboard/fido_setup.html index 3c8b66e5..69c069f2 100644 --- a/app/dashboard/templates/dashboard/fido_setup.html +++ b/app/dashboard/templates/dashboard/fido_setup.html @@ -13,7 +13,7 @@ {% block default_content %}

Register Your Security Key

-

Follow your browser's steps to register your security key with Simple Login

+

Follow your browser's steps to register your security key with SimpleLogin

{{ fido_token_form.csrf_token }} diff --git a/app/dashboard/views/fido_setup.py b/app/dashboard/views/fido_setup.py index 1dfbf16b..4609abb9 100644 --- a/app/dashboard/views/fido_setup.py +++ b/app/dashboard/views/fido_setup.py @@ -70,7 +70,7 @@ def fido_setup(): challenge = secrets.token_urlsafe(32) credential_create_options = webauthn.WebAuthnMakeCredentialOptions( - challenge, 'Simple Login', RP_ID, fido_uuid, + challenge, 'SimpleLogin', RP_ID, fido_uuid, current_user.email, current_user.name, False, attestation='none') # Don't think this one should be used, but it's not configurable by arguments