定制 innoweb/silverstripe-common-password-validation 二次开发

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

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

innoweb/silverstripe-common-password-validation

最新稳定版本:2.0.0

Composer 安装命令:

composer require innoweb/silverstripe-common-password-validation

包简介

Adds additional validation steps to PasswordValidator to check for commonly used passwords, the member's name and repeated characters

README 文档

README

Version License

Overview

Adds additional validation steps to PasswordValidator to check for commonly used passwords, the member's name and repeated characters.

Requirements

  • Silverstripe Framework ^5

Note: this version is compatible with SilverStripe 5. For SilverStripe 4, please see the 1 release line.

Installation

Install the module using composer:

composer require innoweb/silverstripe-common-password-validation dev-master

Then run dev/build.

Configuration

You can configure what tests should be performed. All three tests are enabled by default.

SilverStripe\Security\PasswordValidator:
  check_repetitions: false
  check_member_name: false
  check_common_passwords: false

You can edit the list of common passwords used.

SilverStripe\Security\PasswordValidator:
  common_passwords:
    - 'something'

The module currently uses a list of passwords collected from Nord Pass and Daniel Miesler.

License

BSD 3-Clause License, see License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-07-21