mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 16:22:25 +02:00
Merge branch 'hotfix-sql-xss-injection' into dev
This commit is contained in:
4
resources/js/mixins.js
vendored
4
resources/js/mixins.js
vendored
@ -137,6 +137,10 @@ Vue.mixin({
|
||||
}
|
||||
return this.$root.userPreferences.showOtpAsDot ? pwd.replace(/[0-9]/g, '●') : pwd
|
||||
},
|
||||
|
||||
strip_tags (str) {
|
||||
return str.replace(/(<([^> ]+)>)/ig, "")
|
||||
}
|
||||
}
|
||||
|
||||
})
|
Reference in New Issue
Block a user