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