mirror of
https://github.com/simple-login/app.git
synced 2025-09-14 10:34:36 +08:00
Add Object.freeze to prevent proto injections (#1781)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
This commit is contained in:
parent
f046b2270c
commit
40663358d8
1 changed files with 1 additions and 0 deletions
|
@ -286,6 +286,7 @@
|
|||
|
||||
},
|
||||
async mounted() {
|
||||
Object.freeze(Object.prototype);
|
||||
let that = this;
|
||||
let res = await fetch(`/api/notifications?page=${that.page}`, {
|
||||
method: "GET",
|
||||
|
|
Loading…
Add table
Reference in a new issue