Remove index.html from redirect on '/auth/admin/'

This commit is contained in:
Stian Thorgersen 2014-05-21 12:47:07 +01:00
parent 6814230193
commit 73f59417bd

View file

@ -64,7 +64,7 @@ public class AdminRoot {
public Response masterRealmAdminConsoleRedirect() { public Response masterRealmAdminConsoleRedirect() {
RealmModel master = new RealmManager(session).getKeycloakAdminstrationRealm(); RealmModel master = new RealmManager(session).getKeycloakAdminstrationRealm();
return Response.status(302).location( return Response.status(302).location(
uriInfo.getBaseUriBuilder().path(AdminRoot.class).path(AdminRoot.class, "getAdminConsole").path("index.html").build(master.getName()) uriInfo.getBaseUriBuilder().path(AdminRoot.class).path(AdminRoot.class, "getAdminConsole").path("/").build(master.getName())
).build(); ).build();
} }