mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-23 09:43:22 +00:00
CSRF protection
This commit is contained in:
1 parent
88b0f84f3c
commit
4c6cfa66a8
6 files changed
+37
-23
No files matched your search
@@ -225,6 +225,7 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
$("<input type='hidden' value='<?=$_SESSION['CSRF']['TOKEN'];?>' />").attr("id", "csrf_token").attr("name", "csrf_token").appendTo("form");
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user