From e4b0a6a457333fab3d66f53ebce9b8eab0c21c6d Mon Sep 17 00:00:00 2001 From: Agate Date: Mon, 6 Jul 2020 13:00:53 +0200 Subject: [PATCH 1/2] Fixed some tabbing issues --- front/src/EmbedFrame.vue | 1 - front/src/components/auth/LoginForm.vue | 2 +- front/src/components/forms/PasswordInput.vue | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/front/src/EmbedFrame.vue b/front/src/EmbedFrame.vue index a8dcce4fa..afee7c82f 100644 --- a/front/src/EmbedFrame.vue +++ b/front/src/EmbedFrame.vue @@ -89,7 +89,6 @@ Reset your password - + diff --git a/front/src/components/forms/PasswordInput.vue b/front/src/components/forms/PasswordInput.vue index fe1a01a9f..2e4f227a5 100644 --- a/front/src/components/forms/PasswordInput.vue +++ b/front/src/components/forms/PasswordInput.vue @@ -3,7 +3,6 @@ @@ -30,7 +29,7 @@ function copyStringToClipboard (str) { } export default { - props: ['value', 'index', 'defaultShow', 'copyButton'], + props: ['value', 'defaultShow', 'copyButton'], data () { return { showPassword: this.defaultShow || false, From 926e6955762d53734ddd1496c38193600ea18c7e Mon Sep 17 00:00:00 2001 From: Agate Date: Mon, 6 Jul 2020 13:01:27 +0200 Subject: [PATCH 2/2] Fix #407: Confirm email without requiring the user to validate the form manually --- changes/changelog.d/407.enhancement | 1 + front/src/views/auth/EmailConfirm.vue | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 changes/changelog.d/407.enhancement diff --git a/changes/changelog.d/407.enhancement b/changes/changelog.d/407.enhancement new file mode 100644 index 000000000..c21a34063 --- /dev/null +++ b/changes/changelog.d/407.enhancement @@ -0,0 +1 @@ +Confirm email without requiring the user to validate the form manually (#407) \ No newline at end of file diff --git a/front/src/views/auth/EmailConfirm.vue b/front/src/views/auth/EmailConfirm.vue index 26ccc5d70..4e255ffb9 100644 --- a/front/src/views/auth/EmailConfirm.vue +++ b/front/src/views/auth/EmailConfirm.vue @@ -52,6 +52,11 @@ export default { } } }, + mounted () { + if (this.key) { + this.submit() + } + }, methods: { submit() { let self = this