فهرست منبع

fix SimpleLogin brand name

devStorm 5 سال پیش
والد
کامیت
c38b3c768c
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      app/dashboard/templates/dashboard/fido_setup.html
  2. 1 1
      app/dashboard/views/fido_setup.py

+ 1 - 1
app/dashboard/templates/dashboard/fido_setup.html

@@ -13,7 +13,7 @@
 {% block default_content %}
   <div class="bg-white p-6" style="max-width: 60em; margin: auto">
     <h1 class="h2 text-center">Register Your Security Key</h1>
-    <p class="text-center">Follow your browser's steps to register your security key with Simple Login</p>
+    <p class="text-center">Follow your browser's steps to register your security key with SimpleLogin</p>
 
     <form id="formRegisterKey" method="post">
       {{ fido_token_form.csrf_token }}

+ 1 - 1
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