basercms icon indicating copy to clipboard operation
basercms copied to clipboard

【システム】install.php内のSecurity.saltが利用されていなさそうなので調査

Open seto1 opened this issue 1 year ago • 0 comments

baserCMS version : 5.1

bootstrap.php内で設定しているSecurity.saltはapp_local.phpで設定されている値 https://github.com/baserproject/basercms/blob/5.1.x/config/bootstrap.php#L180

Security::setSalt(Configure::consume('Security.salt'));

https://github.com/baserproject/basercms/blob/5.1.x/config/app_local.example.php

その後、メールフォームなどで呼び出されるSecurity::getSaltの値もapp_local.phpで設定されている値 https://github.com/cakephp/cakephp/blob/5.x/src/Utility/Security.php#L285

TODO

  • install.php内のSecurity.saltが必要か確認し不要なら削除

seto1 avatar Aug 20 '24 05:08 seto1