KEYCLOAK-10660 Fix internal server error when re-logging in from my resources page
This commit is contained in:
parent
1ac51611d3
commit
542333a0dd
1 changed files with 5 additions and 5 deletions
|
@ -704,13 +704,13 @@ public class AccountFormService extends AbstractSecuredLocalService {
|
|||
@Path("resource")
|
||||
@GET
|
||||
public Response resourcesPage(@QueryParam("resource_id") String resourceId) {
|
||||
return forwardToPage("resources", AccountPages.RESOURCES);
|
||||
return forwardToPage("resource", AccountPages.RESOURCES);
|
||||
}
|
||||
|
||||
@Path("resource/{resource_id}")
|
||||
@GET
|
||||
public Response resourceDetailPage(@PathParam("resource_id") String resourceId) {
|
||||
return forwardToPage("resource-detail", AccountPages.RESOURCE_DETAIL);
|
||||
return forwardToPage("resource", AccountPages.RESOURCE_DETAIL);
|
||||
}
|
||||
|
||||
@Path("resource/{resource_id}/grant")
|
||||
|
@ -815,10 +815,10 @@ public class AccountFormService extends AbstractSecuredLocalService {
|
|||
}
|
||||
|
||||
if (isRevoke || isRevokePolicy || isRevokePolicyAll) {
|
||||
return forwardToPage("resource-detail", AccountPages.RESOURCE_DETAIL);
|
||||
return forwardToPage("resource", AccountPages.RESOURCE_DETAIL);
|
||||
}
|
||||
|
||||
return forwardToPage("resources", AccountPages.RESOURCES);
|
||||
return forwardToPage("resource", AccountPages.RESOURCES);
|
||||
}
|
||||
|
||||
@Path("resource/{resource_id}/share")
|
||||
|
@ -894,7 +894,7 @@ public class AccountFormService extends AbstractSecuredLocalService {
|
|||
}
|
||||
}
|
||||
|
||||
return forwardToPage("resource-detail", AccountPages.RESOURCE_DETAIL);
|
||||
return forwardToPage("resource", AccountPages.RESOURCE_DETAIL);
|
||||
}
|
||||
|
||||
@Path("resource")
|
||||
|
|
Loading…
Reference in a new issue