Solved
Login Problem
Hi,
I have the code below but I'm unable to obtain the name or the login working. Is always showing me Anonymous Surfer when I'm logged as admin or author.
Do you know what I'm doing wrong?
<%@page import="com.day.cq.personalization.UserPropertiesUtil" %><%@taglib prefix="personalization" uri="http://www.day.com/taglibs/cq/personalization/1.0" %><%@page session="false"%><% %><%@include file="/libs/foundation/global.jsp" %><% %><%@page pageEncoding="UTF-8"%> <cq:include path="clientcontext" resourceType="cq/personalization/components/clientcontext"/> <div> Hello, <div><personalization:contextProfileProperty propertyName="formattedName"/></div> <form method="POST" action="/j_security_check" enctype="multipart/form-data"> <input type="text" name="j_username" id="j_username"> <input type="text" name="j_password" id="j_password"> <input type="submit" value="Submit"> </form> </div>