From f002e94f0f35013cf160beddbc32c476c2848635 Mon Sep 17 00:00:00 2001 From: shriharsh Date: Wed, 15 Nov 2017 11:06:09 +0530 Subject: [PATCH 1/2] Issue #9 chores: mobile attribute changed to phone --- .../org/sunbird/keycloak/KeycloakSmsAuthenticatorConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak/sms-provider/src/main/java/org/sunbird/keycloak/KeycloakSmsAuthenticatorConstants.java b/keycloak/sms-provider/src/main/java/org/sunbird/keycloak/KeycloakSmsAuthenticatorConstants.java index a88cefee..916b0039 100644 --- a/keycloak/sms-provider/src/main/java/org/sunbird/keycloak/KeycloakSmsAuthenticatorConstants.java +++ b/keycloak/sms-provider/src/main/java/org/sunbird/keycloak/KeycloakSmsAuthenticatorConstants.java @@ -5,7 +5,7 @@ */ // TODO(shriharshs): Move strings for mobile, smsCode, countryCode, defaultCountry code to configuration public class KeycloakSmsAuthenticatorConstants { - public static final String ATTR_MOBILE = "mobile"; + public static final String ATTR_MOBILE = "phone"; public static final String ANSW_SMS_CODE = "smsCode"; public static final String COUNTRY_CODE = "+91"; public static final String DEFAULT_COUNTRY_CODE = "0"; From b0f2b549c5b5d3a89414a9b4d4d40fc1f8bbb17f Mon Sep 17 00:00:00 2001 From: Amol Ghatol Date: Sat, 18 Nov 2017 00:20:13 +0530 Subject: [PATCH 2/2] Issue #257 fix: Added sunbird logo in theme --- .../sms-provider/templates/sms-validation.ftl | 39 +++++++++++++------ 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/keycloak/sms-provider/templates/sms-validation.ftl b/keycloak/sms-provider/templates/sms-validation.ftl index 6a4d407c..3f469fd7 100755 --- a/keycloak/sms-provider/templates/sms-validation.ftl +++ b/keycloak/sms-provider/templates/sms-validation.ftl @@ -5,33 +5,50 @@ <#elseif section = "header"> ${msg("loginTitleHtml",realm.name)} <#elseif section = "form"> -
+ +
+
+
+ + + + <#if client?? && client.baseUrl?has_content> -

${msg("backToApplication")}

+