From 5566ad008fe959f39976bdd63fd4fee9f8a9f700 Mon Sep 17 00:00:00 2001 From: mposolda Date: Thu, 26 Mar 2015 11:51:04 +0100 Subject: [PATCH] Minor --- .../mongo/updater/impl/updates/Update1_2_0_Beta1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connections/mongo-update/src/main/java/org/keycloak/connections/mongo/updater/impl/updates/Update1_2_0_Beta1.java b/connections/mongo-update/src/main/java/org/keycloak/connections/mongo/updater/impl/updates/Update1_2_0_Beta1.java index 65cf97fdec..349520acb6 100644 --- a/connections/mongo-update/src/main/java/org/keycloak/connections/mongo/updater/impl/updates/Update1_2_0_Beta1.java +++ b/connections/mongo-update/src/main/java/org/keycloak/connections/mongo/updater/impl/updates/Update1_2_0_Beta1.java @@ -70,7 +70,7 @@ public class Update1_2_0_Beta1 extends Update { DBObject identityProvider = new BasicDBObjectBuilder() .add("internalId", KeycloakModelUtils.generateId()) .add("providerId", socialProviderId) - .add("alias", socialProviderId.substring(0, 1).toUpperCase() + socialProviderId.substring(1)) + .add("alias", socialProviderId) .add("updateProfileFirstLogin", updateProfileOnInitialSocialLogin) .add("enabled", true) .add("storeToken", false)