定制 amici/craft-login-attempts 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

amici/craft-login-attempts

最新稳定版本:5.0.2

Composer 安装命令:

composer require amici/craft-login-attempts

包简介

Log all login attempts

README 文档

README

Log all login attempts (failed and success) with error message.

Requirements

  • PHP version 8.0.0 or higher
  • Craft CMS 4.0 or higher

Installation

Open your terminal and go to your Craft project:

cd /path/to/project

Run this command to load the plugin:

composer require amici/craft-login-attempts

In the Control Panel, go to Settings → Plugins and click the “Install” button for Login Attempts.

Usage

All login attempts will be automatically register to Login Attempts database table. No action needed here. All login attempts can be seen under "Login Attempts" link under CP main menu. Alternatively, Any user's dashboard will have "Login Activity" tab from where we can see all activity (top 100) of that user only.

You can also get user's activity on twig files. Example:

{% set query = craft.loginAttempts.activity().limit(100).all() %}

{% set query = craft.loginAttempts.activity()
    .userId(currentUser.getId())
    .limit(100).all() %}

Supported fields are:

    id
    userId
    loginName
    loginStatus
    ipAddress
    error
    dateCreated
    dateUpdated
    uid

Documentation

Visit the Login Attempts for all documentation, guides, pricing and developer resources.

Support

Get in touch with us via the Amici Infotech Support or by creating a Github issue

统计信息

  • 总下载量: 79
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-05-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固