magento后台登录不了
M2后台登录用户名和密码都是默认有有效期的。到期后 就登录不了 提示要修改密码。
也有可能是密码不对。
1,先强制登录(临时修改下源码)
Go to this file path and vendorzendframeworkzend-cryptsrcUtils.php and echo $expected and $actual variable and check both are same or not if both variable are not match then change line no 35
if (function_exists('hash_equals')) { return hash_equals($expected, $actual); }
To
if (function_exists('hash_equals')) { return true; }
2,登陆进去后修改下Configuration
Configuration->ADVANCED->Admin->Security
Admin Account Sharing 设为 yes
Admin Session Lifetime (seconds) 设为最大值 31536000
Password Lifetime (days) 设为空
保存后,再还原之前改的源代码
TaurusBoy 发表新评论
谢谢楼主,已解决