我正在将一个旧项目升级到 Laravel 5.7。用户密码以前是用散列的bcrypt
。在新的设置散列驱动程序设置为bcrypt
在配置文件中,但仍然收到以下错误。
local.ERROR: This password does not use the Argon2id algorithm. {"exception":"[object] (RuntimeException(code: 0): This password does not use the Argon2id algorithm. at vendor/laravel/framework/src/Illuminate/Hashing/Argon2IdHasher.php:20
Auth::attempt()
返回true
,但登录不会在重定向时保持不变。