Skip to content

Commit bfc7863

Browse files
authored
Merge pull request #2466 from manabeai/feature/login-page-autocomplete
ログイン・新規作成画面にautocomplete属性を追加
2 parents b876699 + 4953ff9 commit bfc7863

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110

111111
- コンテナを起動し、webコンテナとdbコンテナが起動しているか確認します。
112112

113-
`docker compose up - d`
113+
`docker compose up -d`
114114

115115
`docker compose ps`
116116

src/lib/components/AuthForm.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
disabled={$submitting || isSubmitting}
140140
required
141141
class="ps-10"
142+
autocomplete="username"
142143
>
143144
{#snippet left()}
144145
<CirCleUserRound class="w-5 h-5" tabindex={UNFOCUSABLE} />
@@ -167,6 +168,7 @@
167168
disabled={$submitting || isSubmitting}
168169
required
169170
class="ps-10"
171+
autocomplete={isLoginForm(title) ? 'current-password' : 'new-password'}
170172
>
171173
<!-- Show / hide password -->
172174
{#snippet left()}

0 commit comments

Comments
 (0)