瀏覽代碼

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