summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-07-04 21:08:47 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-04 21:08:47 +0900
commitdfd991a6c6d2c702718e22c707c2f6ccd1cff77e (patch)
treebf4efec46ec306fb3d6d18de3df307df5d2212c2
parentResolve #3431 (diff)
downloadsharkey-dfd991a6c6d2c702718e22c707c2f6ccd1cff77e.tar.gz
sharkey-dfd991a6c6d2c702718e22c707c2f6ccd1cff77e.tar.bz2
sharkey-dfd991a6c6d2c702718e22c707c2f6ccd1cff77e.zip
テストメールは管理者アドレスに送信するように
-rw-r--r--locales/ja-JP.yml1
-rw-r--r--src/client/app/admin/views/instance.vue10
2 files changed, 1 insertions, 10 deletions
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 6040be0450..15cb30997b 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -1390,7 +1390,6 @@ admin/views/instance.vue:
smtp-user: "SMTPユーザー"
smtp-pass: "SMTPパスワード"
test-email: "テスト"
- test-email-to: "テストメールの送信先アドレス"
serviceworker-config: "ServiceWorker"
enable-serviceworker: "ServiceWorkerを有効にする"
serviceworker-info: "プッシュ通知を行うには有効する必要があります。"
diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue
index 7d271bcb89..2d0fc9b40c 100644
--- a/src/client/app/admin/views/instance.vue
+++ b/src/client/app/admin/views/instance.vue
@@ -426,16 +426,8 @@ export default Vue.extend({
},
async testEmail() {
- const { canceled, result: to } = await this.$root.dialog({
- title: this.$t('test-email-to'),
- input: {
- type: 'email',
- },
- showCancelButton: true
- });
- if (canceled) return;
this.$root.api('admin/send-email', {
- to: to,
+ to: this.maintainerEmail,
subject: 'Test email',
text: 'Yo'
}).then(x => {