From 5f8d4cf7b48a251d7717ae9b3a618660de35dce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:32:30 +0900 Subject: [PATCH] =?UTF-8?q?enhance(frontend):=20=E3=83=91=E3=82=B9?= =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=83=89=E5=A4=89=E6=9B=B4=E6=99=82=E3=81=AB?= =?UTF-8?q?HIBP=E3=81=A7=E6=B5=81=E5=87=BA=E3=83=91=E3=82=B9=E3=83=AF?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=82=92=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=20(MisskeyIO#625)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 4 - .../frontend/src/components/MkNewPassword.vue | 161 ++++++++++++++++++ .../src/components/MkSignupDialog.form.vue | 149 +--------------- .../frontend/src/pages/reset-password.vue | 24 +-- .../frontend/src/pages/settings/security.vue | 44 +++-- 5 files changed, 202 insertions(+), 180 deletions(-) create mode 100644 packages/frontend/src/components/MkNewPassword.vue diff --git a/locales/index.d.ts b/locales/index.d.ts index b118e5247..5e8998e36 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -7904,10 +7904,6 @@ export interface Locale extends ILocale { * バックアップコードが全て使用されました。認証アプリを利用できない場合、これ以上アカウントにアクセスできなくなります。認証アプリを再登録してください。 */ "backupCodesExhaustedWarning": string; - /** - * 詳細なガイドはこちら - */ - "moreDetailedGuideHere": string; /** * バックアップコードを保存しましたか? */ diff --git a/packages/frontend/src/components/MkNewPassword.vue b/packages/frontend/src/components/MkNewPassword.vue new file mode 100644 index 000000000..83305c308 --- /dev/null +++ b/packages/frontend/src/components/MkNewPassword.vue @@ -0,0 +1,161 @@ + + + + + + diff --git a/packages/frontend/src/components/MkSignupDialog.form.vue b/packages/frontend/src/components/MkSignupDialog.form.vue index 0eef175cb..52d910afc 100644 --- a/packages/frontend/src/components/MkSignupDialog.form.vue +++ b/packages/frontend/src/components/MkSignupDialog.form.vue @@ -45,27 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.error }} - - - - - - - - - - + @@ -82,11 +62,12 @@ SPDX-License-Identifier: AGPL-3.0-only