cancel
Showing results for 
Search instead for 
Did you mean: 

B2BCustomer 'last login' not getting captured in hmc

Former Member
0 Kudos

The field 'Last Login' in hmc>B2BCustomer>Password is getting updated in our site. Is it the existing hybris OOTB feature? Is it same with powertools site also?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

OoB doesn't seem to do this. I've updated the User model manually in Authentication provider after successfull authentication. If someone finds OoB way, please do share.

Former Member
0 Kudos

Can you please let us know the class name which you have changed ? I found Authentication Provider class but it's of spring framework.

Former Member
0 Kudos

Hello,

Any update on why this is the case?

Thanks, Tatiana

former_member387866
Active Contributor
0 Kudos

It was removed in 4.0.2 and not re-implemented for performance reasons.

former_member387866
Active Contributor
0 Kudos

Hi Prasanna,

I've checked the 5.3 OOTB version of the hybris Platform.

The "Last Login" field isn't getting updated for Electronics and Power Tools sites. I checked this for members of the b2bmanager and b2bcustomer User Groups.

This is also effecting the B2C Apparel Store, as well as the two B2B stores.


EDIT: I did more digging. The code that set the lastLogin property on the UserModel was removed, in 4.0.2 and not re-implemented. It was seen as a performance bottleneck.

There is also information on how to enable this functionality SUP-5799 - Enabling HMC Login Timestamp.


Regards, Luke