renan-s-oliveira/l2j-hasher

为L2j加密哈希密码的包

v1.0 2021-02-11 20:34 UTC

This package is auto-updated.

Last update: 2024-09-07 05:52:33 UTC


README

使用Laravel 8的L2J密码加密驱动程序。

安装

composer require renan-s-oliveira/l2j-hasher

进入 config/app.php

取消注释 Illuminate\Hashing\HashServiceProvider::class 并添加 L2JHasher\ServiceProvider\L2JHashServiceProvider::class,

//Illuminate\Hashing\HashServiceProvider::class,

L2JHasher\ServiceProvider\L2JHashServiceProvider::class,

进入 config/fortify.php

将 'passwords' => 'users' 替换为

'passwords' => 'accounts',

e

'username' => 'email',

替换为

'username' => 'login',

想帮助维护项目吗?

通过发送PIX帮助我们吧:)

PIX