mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 05:52:18 +00:00
fixed missed v-html xss warning vulnerability
This commit is contained in:
@@ -94,10 +94,18 @@
|
||||
<TwoFADialog ref="TwoFADialog" />
|
||||
|
||||
<Confirm ref="confirmDisableAuth" btn-style="btn-danger" :yes-text="$t('I understand, please disable')" :no-text="$t('Leave')" @yes="disableAuth">
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<p v-html="$t('disableauth.message1')"></p>
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<p v-html="$t('disableauth.message2')"></p>
|
||||
<i18n-t keypath="disableauth.message1" tag="p">
|
||||
<template #disableAuth>
|
||||
<strong>{{ $t('disableAuth') }}</strong>
|
||||
</template>
|
||||
</i18n-t>
|
||||
|
||||
<i18n-t keypath="disableauth.message2" tag="p">
|
||||
<template #scenarios>
|
||||
<strong>{{ $t('scenarios') }}</strong>
|
||||
</template>
|
||||
</i18n-t>
|
||||
|
||||
<p>{{ $t("Please use this option carefully!") }}</p>
|
||||
|
||||
<div class="mb-3">
|
||||
|
||||
Reference in New Issue
Block a user