diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js index 2579f4cc35..d74a7ae092 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js @@ -147,8 +147,7 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, $ht if ($scope.createRealm) { $scope.realm = { enabled: true, - requireSsl: true, - cookieLoginAllowed: true + requireSsl: true }; } else { if (Current.realm == null || Current.realm.realm != realm.realm) { diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html index a3ef383b1f..2628dcca1b 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html +++ b/admin-ui/src/main/resources/META-INF/resources/admin/partials/realm-detail.html @@ -69,10 +69,6 @@ -
- - -
diff --git a/core/src/main/java/org/keycloak/representations/idm/RealmRepresentation.java b/core/src/main/java/org/keycloak/representations/idm/RealmRepresentation.java index 33c56f694f..45ec844664 100755 --- a/core/src/main/java/org/keycloak/representations/idm/RealmRepresentation.java +++ b/core/src/main/java/org/keycloak/representations/idm/RealmRepresentation.java @@ -19,7 +19,6 @@ public class RealmRepresentation { protected Boolean enabled; protected Boolean accountManagement; protected Boolean sslNotRequired; - protected Boolean cookieLoginAllowed; protected Boolean registrationAllowed; protected Boolean verifyEmail; protected Boolean resetPasswordAllowed; @@ -124,14 +123,6 @@ public class RealmRepresentation { this.sslNotRequired = sslNotRequired; } - public Boolean isCookieLoginAllowed() { - return cookieLoginAllowed; - } - - public void setCookieLoginAllowed(Boolean cookieLoginAllowed) { - this.cookieLoginAllowed = cookieLoginAllowed; - } - public Integer getTokenLifespan() { return tokenLifespan; } diff --git a/examples/as7-eap-demo/testrealm.json b/examples/as7-eap-demo/testrealm.json index dab68ee01a..f9354df4c8 100755 --- a/examples/as7-eap-demo/testrealm.json +++ b/examples/as7-eap-demo/testrealm.json @@ -6,7 +6,6 @@ "accessCodeLifespanUserAction": 6000, "accountManagement": true, "sslNotRequired": true, - "cookieLoginAllowed": true, "registrationAllowed": false, "social": false, "automaticRegistrationAfterSocialLogin": false, diff --git a/examples/wildfly-demo/testrealm.json b/examples/wildfly-demo/testrealm.json index dab68ee01a..f9354df4c8 100755 --- a/examples/wildfly-demo/testrealm.json +++ b/examples/wildfly-demo/testrealm.json @@ -6,7 +6,6 @@ "accessCodeLifespanUserAction": 6000, "accountManagement": true, "sslNotRequired": true, - "cookieLoginAllowed": true, "registrationAllowed": false, "social": false, "automaticRegistrationAfterSocialLogin": false, diff --git a/forms/src/main/resources/META-INF/resources/forms/theme/default/login-oauth-grant.ftl b/forms/src/main/resources/META-INF/resources/forms/theme/default/login-oauth-grant.ftl index 8ff76db207..bacf277e41 100755 --- a/forms/src/main/resources/META-INF/resources/forms/theme/default/login-oauth-grant.ftl +++ b/forms/src/main/resources/META-INF/resources/forms/theme/default/login-oauth-grant.ftl @@ -15,7 +15,7 @@