]> BookStack Code Mirror - bookstack/blobdiff - app/Util/CspService.php
Addressed test failures from users API changes
[bookstack] / app / Util / CspService.php
index ec5021371d7b5b998c8ac43087beef091841a5e0..812e1a4bed1cc2a1d937028e2f614ccf89cfa5ba 100644 (file)
@@ -12,7 +12,7 @@ class CspService
 
     public function __construct(string $nonce = '')
     {
-        $this->nonce = $nonce ?: Str::random(16);
+        $this->nonce = $nonce ?: Str::random(24);
     }
 
     /**