From 9e15b205910a0538afbbe97998080c13c74f8dd8 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Wed, 30 Sep 2015 20:57:29 +0200 Subject: [PATCH] KEYCLOAK-1893 - Allow to configure OTP period in admin console. Added input form that allows to specify the OTP token period in the `OTP Policy` section of the `Authentication` settings. Since the value is already backed by the provided `otpPolicyPeriod` field in the `RealmRepresentation` class we only needed to show the value in the admin ui. --- .../theme/base/admin/resources/partials/otp-policy.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html index 6f08e96c90..85ad20bb88 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/otp-policy.html @@ -59,6 +59,15 @@ What should the initial counter value be? +
+ +
+ +
+ How many seconds should an OTP token be valid? Defaults to 30 seconds. +
+ +