WebAuthnAuthenticator add timeout property

This commit is contained in:
Martin Bartoš 2021-12-10 17:57:17 +01:00 committed by Marek Posolda
parent faefeccbee
commit 3a2bf0c04b

View file

@ -82,6 +82,7 @@ public class WebAuthnAuthenticator implements Authenticator, CredentialValidator
WebAuthnPolicy policy = getWebAuthnPolicy(context);
String rpId = getRpID(context);
form.setAttribute(WebAuthnConstants.RP_ID, rpId);
form.setAttribute(WebAuthnConstants.CREATE_TIMEOUT, policy.getCreateTimeout());
UserModel user = context.getUser();
boolean isUserIdentified = false;