Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add nonce to scripts
James Cole4d156870efde
diff --git a/resources/views/v2/partials/layout/head.blade.php b/resources/views/v2/partials/layout/head.blade.phpindex 60bb75f945..39764cf5fa 100644--- a/resources/views/v2/partials/layout/head.blade.php+++ b/resources/views/v2/partials/layout/head.blade.php@@ -8,7 +8,7 @@<meta name="apple-mobile-web-app-capable" content="yes"><meta name="color-scheme" content="light dark">- <script type="text/javascript">+ <script type="text/javascript" nonce="{{ $JS_NONCE }}">/*!* Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)* Copyright 2011-2023 The Bootstrap Authorsdiff --git a/resources/views/v2/partials/layout/scripts.blade.php b/resources/views/v2/partials/layout/scripts.blade.phpindex 71141793c3..4f943d68a5 100644--- a/resources/views/v2/partials/layout/scripts.blade.php+++ b/resources/views/v2/partials/layout/scripts.blade.php@@ -1,3 +1,3 @@<!--begin::Required Plugin(AdminLTE)-->-<script src="v2/js/adminlte.js"></script>+<script src="v2/js/adminlte.js" nonce="{{ $JS_NONCE }}"></script><!--end::Required Plugin(AdminLTE)-->