Add some security headers
This commit is contained in:
@@ -33,11 +33,7 @@ html
|
||||
body.settings-page
|
||||
if status && message
|
||||
.status-notice(class=status)= message
|
||||
script.
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
params.delete("status")
|
||||
params.delete("message")
|
||||
history.replaceState(null, "", "?" + params.toString())
|
||||
script(src=getStaticURL("html", "/static/js/settings_message.js") type="module")
|
||||
main.settings
|
||||
form(action=returnAction method="post" enctype="application/x-www-form-urlencoded")
|
||||
input(type="hidden" name="csrf" value=csrf)
|
||||
|
||||
Reference in New Issue
Block a user