renan-s-oliveira / l2j-hasher
为L2j加密哈希密码的包
v1.0
2021-02-11 20:34 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',