KEYCLOAK-5487 (#4603)
This commit is contained in:
parent
330f2acc29
commit
f0bbcbf0fd
1 changed files with 3 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue