basercms
basercms copied to clipboard
【システム】install.php内のSecurity.saltが利用されていなさそうなので調査
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が必要か確認し不要なら削除