mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
set x-frame-origin
This commit is contained in:
parent
49855077c2
commit
f9ebeaad9f
@ -764,7 +764,8 @@ class BaseController extends Controller
|
|||||||
|
|
||||||
$this->buildCache();
|
$this->buildCache();
|
||||||
|
|
||||||
return view('index.index', $data);
|
return response()->view('index.index', $data)->header('X-Frame-Options', 'SAMEORIGIN', false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect('/setup');
|
return redirect('/setup');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user