KEYCLOAK-5487 (#4603)
This commit is contained in:
1 parent
330f2acc29
commit
f0bbcbf0fd
1 file changed
+3
-6
@@ -85,13 +85,10 @@ public class AccountConsole {
|
||||
|
||||
URI baseUri = uriInfo.getBaseUri();
|
||||
|
||||
String authUrl = baseUri.toString();
|
||||
authUrl = authUrl.substring(0, authUrl.length() - 1);
|
||||
|
||||
map.put("authUrl", authUrl);
|
||||
map.put("baseUrl", authUrl + "/realms/" + realm.getName() + "/account");
|
||||
map.put("authUrl", session.getContext().getContextPath());
|
||||
map.put("baseUrl", session.getContext().getContextPath() + "/realms/" + realm.getName() + "/account");
|
||||
map.put("realm", realm.getName());
|
||||
map.put("resourceUrl", Urls.themeRoot(baseUri) + "/account/" + theme.getName());
|
||||
map.put("resourceUrl", Urls.themeRoot(baseUri).getPath() + "/account/" + theme.getName());
|
||||
map.put("resourceVersion", Version.RESOURCES_VERSION);
|
||||
|
||||
String[] referrer = getReferrer();
|
||||
|
||||
Reference in new issue
Block a user