mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Use a very simple nonce to see if Edge stops complaining.
This commit is contained in:
@@ -45,6 +45,7 @@ class SecureHeaders
|
|||||||
{
|
{
|
||||||
// generate and share nonce.
|
// generate and share nonce.
|
||||||
$nonce = base64_encode(random_bytes(16));
|
$nonce = base64_encode(random_bytes(16));
|
||||||
|
$nonce = 'hithere';
|
||||||
app('view')->share('JS_NONCE', $nonce);
|
app('view')->share('JS_NONCE', $nonce);
|
||||||
|
|
||||||
$response = $next($request);
|
$response = $next($request);
|
||||||
|
Reference in New Issue
Block a user