diff --git a/login/login-otp.ftl b/login/login-otp.ftl index a190614..3d1927b 100644 --- a/login/login-otp.ftl +++ b/login/login-otp.ftl @@ -1,70 +1,21 @@ <#import "template.ftl" as layout> - <@layout.registrationLayout; section> - <#if section="header"> - ${msg("loginTitle",(realm.displayName!''))} - <#elseif section="form"> -
- <#if otpLogin.userOtpCredentials?size gt 1> -
-
- <#list otpLogin.userOtpCredentials as otpCredential> -
- -
- -

- ${otpCredential.userLabel} -

-
-
- -
-
- +<@layout.registrationLayout; section> + <#if section="header"> + ${msg("loginTitle",(realm.displayName!''))} + <#elseif section="form"> +

OTP Validation

+ -
-
- -
- -
- -
-
- -
-
-
-
-
- -
- -
-
-
- - - - \ No newline at end of file +
+ + +
+ + + <#elseif section="image"> + login image + + \ No newline at end of file diff --git a/login/login.ftl b/login/login.ftl index c9b0d61..2029303 100644 --- a/login/login.ftl +++ b/login/login.ftl @@ -17,6 +17,8 @@ + <#elseif section = "image" > + login image <#elseif section = "info" > <#if realm.password && realm.registrationAllowed && !registrationDisabled??>
diff --git a/login/resources/images/background.jpg b/login/resources/images/login.jpg similarity index 100% rename from login/resources/images/background.jpg rename to login/resources/images/login.jpg diff --git a/login/resources/images/background_md.jpg b/login/resources/images/login_md.jpg similarity index 100% rename from login/resources/images/background_md.jpg rename to login/resources/images/login_md.jpg diff --git a/login/resources/images/otp_md.jpg b/login/resources/images/otp_md.jpg new file mode 100644 index 0000000..a7ae12d Binary files /dev/null and b/login/resources/images/otp_md.jpg differ diff --git a/login/template.ftl b/login/template.ftl index fd5ad76..31b1ae9 100644 --- a/login/template.ftl +++ b/login/template.ftl @@ -28,7 +28,7 @@
- login image + <#nested "image">