1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-25 07:25:04 +02:00

fix(frontend): APIキーを指定するいくつかのフォームでautocompleteが発動する問題を修正 (#17655)

This commit is contained in:
かっこかり
2026-07-03 14:58:58 +09:00
committed by GitHub
parent 96d6a09ebc
commit 97e54a1ee8
3 changed files with 4 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkInput>
</SearchMarker>
<SearchMarker>
<MkInput v-model="smtpPass" type="password">
<MkInput v-model="smtpPass" type="password" autocomplete="new-password">
<template #label><SearchLabel>{{ i18n.ts.smtpPass }}</SearchLabel></template>
</MkInput>
</SearchMarker>

View File

@@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</SearchMarker>
<SearchMarker>
<MkInput v-model="objectStorageSecretKey" type="password">
<MkInput v-model="objectStorageSecretKey" type="password" autocomplete="new-password">
<template #prefix><i class="ti ti-key"></i></template>
<template #label><SearchLabel>Secret key</SearchLabel></template>
</MkInput>

View File

@@ -46,7 +46,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</SearchMarker>
<SearchMarker :keywords="['api', 'key', 'token', 'sensitive']">
<MkInput v-model="sensitiveMediaDetectionForm.state.sensitiveMediaDetectionApiKey" type="password">
<MkInput v-model="sensitiveMediaDetectionForm.state.sensitiveMediaDetectionApiKey" type="password" autocomplete="new-password">
<template #prefix><i class="ti ti-key"></i></template>
<template #label><SearchLabel>{{ i18n.ts._sensitiveMediaDetection.apiKey }}</SearchLabel></template>
<template #caption><SearchText>{{ i18n.ts._sensitiveMediaDetection.apiKeyDescription }}</SearchText></template>
</MkInput>