keycloak-uncached

KEYCLOAK-1253

5/5/2015 1:49:54 AM

Details

diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html
index c98907d..1a1b90d 100755
--- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html
+++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-login-settings.html
@@ -12,7 +12,7 @@
                 </div>
                 <kc-tooltip>Enable/disable the registration page. A link for registration will show on login page too.</kc-tooltip>
             </div>
-            <div class="form-group" ng-show="registrationAllowed">
+            <div class="form-group" ng-show="realm.registrationAllowed">
                 <label for="registrationEmailAsUsername" class="col-md-2 control-label">Email as username</label>
                 <div class="col-md-6">
                     <input ng-model="realm.registrationEmailAsUsername" name="registrationEmailAsUsername" id="registrationEmailAsUsername" onoffswitch />