mpociot/reauthenticate
Laravel package for reauthentication: middleware and traits that require users to re-enter their password before sensitive actions such as changing an email or deleting an account, with a built-in confirmation view and configurable timeout.
mpociot/reauthenticate adds a simple password confirmation layer to Laravel applications, letting you protect sensitive actions—like changing an email address, deleting an account, or updating billing details—until the user re-enters their password. A middleware intercepts protected routes, redirects users to a confirmation screen, and returns them to their original destination after successful reauthentication.
reauthenticate middleware for routes and route groupsHow can I help you explore Laravel packages today?