Hi Gilvan,
You have to create a customer template File -> New -> Special Style Page, select Login, click in Next, put a name for the template and select your style project click in Finish button and delete the code generated and put this code:
-----------------------------------------------------------------
#?delimiters [%, %], [%=, %]
[% def homePage = getHomePage(getHomeSiteView())
if(homePage != null && homePage["customURLName"] != ""){
homePage = getWebAppPath(homePage)
} else {
homePage = homePage["id"]
}
%]
<script type="text/javascript">
window.location="[%=homePage%].do";
</script>
-------------------------------------------------------------
or this code:
--------------------------------------------------------------
#?delimiters [%, %], [%=, %]
[% def homePage = isProtectedAncestorOrSelf(page) ? getById(page.selectSingleNode("ancestor::SiteView")?.attributeValue("homePage")) : getHomePage(getHomeSiteView())
homePage = (homePage != null) ? (homePage["id"] + ".do") : "#"
%]
<%response.sendRedirect(response.encodeRedirectURL("[%= homePage%]"));%>
------------------------------------------------------------------------