Log in
Model

CutoffValidator

Magento\Customer\Model\Session\Validators\CutoffValidator

What it does

This validator ensures customer sessions remain valid by checking if a session was created before a cutoff timestamp.

If a customer's session is older than their account's cutoff time (typically updated when password changes or forced logout occurs), the session is automatically destroyed and the customer must log in again.

Developers use this to enhance security by invalidating outdated sessions.

Public Methods

  • validate()