Remove experimental simple nonce.

This commit is contained in:
James Cole 2020-01-11 06:24:53 +01:00
parent 77fa3af87e
commit 2416fd6773
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -45,7 +45,6 @@ class SecureHeaders
{
// generate and share nonce.
$nonce = base64_encode(random_bytes(16));
$nonce = 'hithere';
app('view')->share('JS_NONCE', $nonce);
$response = $next($request);