Update security.vue

This commit is contained in:
syuilo 2025-03-03 12:16:29 +09:00
parent c1a5b3feb6
commit 8bed0ad423
1 changed files with 38 additions and 29 deletions

View File

@ -4,11 +4,19 @@ SPDX-License-Identifier: AGPL-3.0-only
--> -->
<template> <template>
<div class="_gaps_m"> <SearchMarker path="/settings/security" :label="i18n.ts.security" :keywords="['security']" icon="ti ti-lock">
<div class="_gaps_m">
<SearchMarker :keywords="['password']">
<FormSection first> <FormSection first>
<template #label>{{ i18n.ts.password }}</template> <template #label><SearchLabel>{{ i18n.ts.password }}</SearchLabel></template>
<MkButton primary @click="change()">{{ i18n.ts.changePassword }}</MkButton>
<SearchMarker>
<MkButton primary @click="change()">
<SearchLabel>{{ i18n.ts.changePassword }}</SearchLabel>
</MkButton>
</SearchMarker>
</FormSection> </FormSection>
</SearchMarker>
<X2fa/> <X2fa/>
@ -36,7 +44,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #caption>{{ i18n.ts.regenerateLoginTokenDescription }}</template> <template #caption>{{ i18n.ts.regenerateLoginTokenDescription }}</template>
</FormSlot> </FormSlot>
</FormSection> </FormSection>
</div> </div>
</SearchMarker>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>