Commit 9125b770 authored by Cynthia Ng's avatar Cynthia Ng Committed by Natalia Tepluhina

Provide self-serve deletion method

parent 977a54a9
......@@ -81,9 +81,10 @@
= s_('Profiles|You must transfer ownership or delete these groups before you can delete your account.')
- elsif !current_user.can_remove_self?
%p
= s_('Profiles|GitLab is unable to verify your identity automatically.')
- reset_link = reset_profile_password_path
= s_('Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account.').html_safe % { openingTag: "<a href='#{reset_link}'>".html_safe, closingTag: '</a>'.html_safe}
%p
= s_('Profiles|Please email %{data_request} to begin the account deletion process.').html_safe % { data_request: mail_to('personal-data-request@gitlab.com') }
= s_('Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process.').html_safe % { data_request: mail_to('personal-data-request@gitlab.com') }
- else
%p
= s_("Profiles|You don't have access to delete this user.")
......
---
title: Add additional instructions on deleting account on Gitlab.com
merge_request: 52538
author:
type: other
......@@ -21831,12 +21831,15 @@ msgstr ""
msgid "Profiles|Full name"
msgstr ""
msgid "Profiles|GitLab is unable to verify your identity automatically."
msgid "Profiles|GitLab is unable to verify your identity automatically. For security purposes, you must set a password by %{openingTag}resetting your password%{closingTag} to delete your account."
msgstr ""
msgid "Profiles|Give your individual key a title."
msgstr ""
msgid "Profiles|If after setting a password, the option to delete your account is still not available, please email %{data_request} to begin the account deletion process."
msgstr ""
msgid "Profiles|Include private contributions on my profile"
msgstr ""
......@@ -21882,9 +21885,6 @@ msgstr ""
msgid "Profiles|Path"
msgstr ""
msgid "Profiles|Please email %{data_request} to begin the account deletion process."
msgstr ""
msgid "Profiles|Position and size your new avatar"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment