yudhatp/laravel-check-default-password 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

yudhatp/laravel-check-default-password

最新稳定版本:0.0.2

Composer 安装命令:

composer require yudhatp/laravel-check-default-password

包简介

Check Default Password for Laravel

README 文档

README

Check is user using default password and force them to change their password. This package compatible for Laravel 6.x, 7.x, 8.x, 9.x, 10,x

Installation

You can install the package via composer:

composer require yudhatp/laravel-check-default-password

publish config file with:

php artisan vendor:publish --tag=yudhatp-check-default-password-config

Usage

on "kernel.php", add this line on your "protected $middlewareGroups"

'web' => [
    ...
    \Yudhatp\CheckDefaultPassword\Middleware\CheckDefaultPasswordMiddleware::class,
    ...
],

Setting Config

change default laravel user field. at default the value is "id"

'user' => 'employee_id'

change redirect url

'redirect' => 'profile'

set password which not allowed

'passwords' => [
    ...
    '1234',
    '123456',
    ...
]

set except routes

'except-routes' => [
    ...
    'login',
    'logout',
    ...
]

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固