By default, RISE does not allow other websites to show it inside an iframe. This protects your users from clickjacking.
Allow iframe loading
Open app/Config/Filters.php and find the $globals array. In the after list, comment out 'secureheaders':
public array $globals = [
'before' => [
// 'honeypot',
// 'csrf',
// 'invalidchars',
],
'after' => [
// 'honeypot',
// 'secureheaders',
],
];
Only change the 'secureheaders' line. Do not change anything about csrf. CSRF protection is turned on in the same file in another place, so it stays on.
Please note
- Updates may replace this file. Check it again after each update.
- Only do this if you really need it. Any website can then load your RISE site in an iframe.