diff --git a/src/main/resources/templates/OAuthResource/loginPasswordless.html b/src/main/resources/templates/OAuthResource/loginPasswordless.html index 3684f4e..26d2fa1 100644 --- a/src/main/resources/templates/OAuthResource/loginPasswordless.html +++ b/src/main/resources/templates/OAuthResource/loginPasswordless.html @@ -23,7 +23,6 @@
Create a new credential or use an existing one
-

In Webauthn, a single user will have multiple credentials, tied to the devices they are using.

First the user enters their username:


@@ -101,10 +100,20 @@
- -
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -259,7 +268,8 @@ }); }) .catch(err => { - result.append("Login failed: " + err); + $("#errors").show() + $("#result").html("Login failed: " + err); console.error(err); }); return false; @@ -285,7 +295,8 @@ }); }) .catch(err => { - result.append("Registration failed: " + err); + $("#errors").show() + $("#result").html("Registration failed: " + err); console.error(err); }); return false;