Customer has noticed that a user to whom they have given the access to download a document from Document and Media library is able to authenticate to the portal after clicking on download URL, but the lastlogindate is not getting updated in the user_ table of database once he/she logs in.
Steps To Reproduce:
1- Extracted fresh instance of Liferay DXP and connected it with a database.
2- Added a .JPG image in Document and Media library.
3- Gave the document view permission to site member view and remove the guest view permission.
4- Copied the URL from the "Get URL" section.
5- Log out
6- Open the URL which we have copied from the Get URL section to log in
Actual Behavior: User is able to authenticate and the document gets open, but the column in the user_ table of database doesn't update the time and date.
Expected Behavior: User is able to authenticate and the document gets open, and column in the user_ table of database should show the login time of a user once he gets logged in successfully.
Reproduced in Master: 72b98a9258118c08626ebfcc23e9c6e4933eb6fa
Reproduced in 7.0.X: 65e889783ffc4f24a3929adef43df3cdcc17f281