public function __construct(string $nonce = '')
{
- $this->nonce = $nonce ?: Str::random(16);
+ $this->nonce = $nonce ?: Str::random(24);
}
/**
protected function getAllowedIframeHosts(): array
{
$hosts = config('app.iframe_hosts', '');
+
return array_filter(explode(' ', $hosts));
}
-
-}
\ No newline at end of file
+}