Fix most glaring bugs and vulnerabilities

This commit is contained in:
Luka Romih
2023-05-08 23:25:25 +02:00
parent 9867875ef2
commit d0e53fee3b
144 changed files with 2231 additions and 2981 deletions
+7
View File
@@ -100,6 +100,13 @@ html(lang=language)
crossorigin="anonymous"
)
if flashInfo.length
include /utilities/modal-response
+responseModal("flash-modal", t("Razumem"), "understand-btn", flashInfo[0])
script(nonce=cspNonce).
const flashModal = new bootstrap.Modal(document.getElementById('flash-modal'));
flashModal.toggle();
if inDevEnv
script(nonce=cspNonce) window.inDevEnv = true
script(nonce=cspNonce src="/javascripts/globals.js")