📌  相关文章
📜  在 Magento 2 中重置管理员密码 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:34.082000             🧑  作者: Mango

代码示例2
UPDATE admin_user SET password = CONCAT(SHA2('xxxxxxxYourNewPassword', 256), ':xxxxxxx:1') WHERE username = 'admin';

The xxxxxxx character sequence is a cryptographic salt, it is saved in app\etc\env.php file

 [
      'key' => 'f323fedda15153db7783e4610137a581'
  ],
...
?>