From ab2c31aa8a1208313b77beb6f7cefdacf3fdf34a Mon Sep 17 00:00:00 2001 From: triphora Date: Sun, 20 Nov 2022 00:02:58 -0500 Subject: [PATCH] Improve user deletion workflow (#686) --- pages/settings/account.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pages/settings/account.vue b/pages/settings/account.vue index 0744c581..75c8c39e 100644 --- a/pages/settings/account.vue +++ b/pages/settings/account.vue @@ -215,6 +215,13 @@ export default { type: 'error', }) } + + this.$cookies.set('auth-token-reset', true) + alert( + 'Please note that logging back in with GitHub will create a new account.' + ) + window.location.href = '/' + this.$nuxt.$loading.finish() }, logout() {