mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Fix various possible XSS attacks
This commit is contained in:
4
resources/js/mixins.js
vendored
4
resources/js/mixins.js
vendored
@ -126,6 +126,10 @@ Vue.mixin({
|
||||
|
||||
this.setTheme(this.$root.userPreferences.theme)
|
||||
},
|
||||
|
||||
strip_tags (str) {
|
||||
return str.replace(/(<([^> ]+)>)/ig, "")
|
||||
}
|
||||
}
|
||||
|
||||
})
|
Reference in New Issue
Block a user