X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fb80bb5d585868683ef336ad02a808453717113f..refs/pull/3113/head:/app/Util/CspService.php diff --git a/app/Util/CspService.php b/app/Util/CspService.php index ec5021371..812e1a4be 100644 --- a/app/Util/CspService.php +++ b/app/Util/CspService.php @@ -12,7 +12,7 @@ class CspService public function __construct(string $nonce = '') { - $this->nonce = $nonce ?: Str::random(16); + $this->nonce = $nonce ?: Str::random(24); } /**