Issue
- Both
User_.loginDate
andUser_.lastLoginDate
seem like similar fields, but they are slightly different.
Environment
- Liferay DXP
Resolution
- Last login date is configurable through the following property:
#
# Set this to true to record last login information for a user.
#
# Env: LIFERAY_USERS_PERIOD_UPDATE_PERIOD_LAST_PERIOD_LOGIN
#
users.update.last.login=true
- What both fields stand for:
-
loginDate
: Saves current last login date information. -
lastLoginDate
: If it's user first login saves loginDate. If user has log in more than once, saves next to last loginDate (previous to current one).
-
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar