orangecat/customerloginhistory

Keeps a record of customer logins in db

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.0 2020-03-02 13:11 UTC

This package is auto-updated.

Last update: 2024-04-29 03:21:40 UTC


README

This module has been developed for Magento 2.3.4

The purpose of this module is to save the information of each user login in a custom database table.

This information will be displayed on the user dashboard who will have the possibility of deleting some or all of the records.

The module provides a console command that allows deleting all the records of a specific user: bin/magento customerlogin:deletebyuser userID

or allows deleting the records of all users bin/magento customerlogin:deletebyuser all

To prevent the log table growing infinitely, a cron-triggered routine has been included that allows you to delete old records. The Admin can establish the period of time that the records must be kept in the database from the module configuration options. It is also possible to cancel this option.

Installation

The extension must be installed via composer. To proceed, run these commands in your terminal:

composer require orangecat/customerloginhistory
php bin/magento module:enable Orangecat_CustomerLoginHistory
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Note

This module depends on Orangecat Geoip, if you install this module manually, install the GeoIP module first

Screenshot

ScreenShot

ScreenShot

ScreenShot