From ae001c6ca716175334a6516cc51a622df58a64ed Mon Sep 17 00:00:00 2001
From: kolaente
Date: Wed, 11 Oct 2023 19:07:11 +0200
Subject: [PATCH] fix(user): allow openid users to request their deletion
Resolves https://community.vikunja.io/t/delete-user-not-possible-when-using-oidc/1689/4
---
src/i18n/lang/en.json | 2 +
src/views/user/settings/Deletion.vue | 69 ++++++++++++++++------------
2 files changed, 42 insertions(+), 29 deletions(-)
diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json
index bf4e263d9..fe5c1ddbb 100644
--- a/src/i18n/lang/en.json
+++ b/src/i18n/lang/en.json
@@ -176,6 +176,7 @@
"title": "Delete your Vikunja Account",
"text1": "The deletion of your account is permanent and cannot be undone. We will delete all your projects, tasks and everything associated with it.",
"text2": "To proceed, please enter your password. You will receive an email with further instructions.",
+ "text3": "To proceed, please press the button below. You will receive an email with further instructions.",
"confirm": "Delete my account",
"requestSuccess": "The request was successful. You'll receive an email with further instructions.",
"passwordRequired": "Please enter your password.",
@@ -183,6 +184,7 @@
"scheduled": "We will delete your Vikunja account at {date} ({dateSince}).",
"scheduledCancel": "To cancel the deletion of your account, click here.",
"scheduledCancelText": "To cancel the deletion of your account, please enter your password below:",
+ "scheduledCancelButton": "To cancel the deletion of your account, please press the button below:",
"scheduledCancelConfirm": "Cancel the deletion of my account",
"scheduledCancelSuccess": "We will not delete your account."
},
diff --git a/src/views/user/settings/Deletion.vue b/src/views/user/settings/Deletion.vue
index 5d855d1af..4e335ad77 100644
--- a/src/views/user/settings/Deletion.vue
+++ b/src/views/user/settings/Deletion.vue
@@ -10,29 +10,34 @@
})
}}