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 @@ ...@@ -81,9 +81,10 @@
= s_('Profiles|You must transfer ownership or delete these groups before you can delete your account.') = s_('Profiles|You must transfer ownership or delete these groups before you can delete your account.')
- elsif !current_user.can_remove_self? - elsif !current_user.can_remove_self?
%p %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 %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 - else
%p %p
= s_("Profiles|You don't have access to delete this user.") = 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 "" ...@@ -21831,12 +21831,15 @@ msgstr ""
msgid "Profiles|Full name" msgid "Profiles|Full name"
msgstr "" 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 "" msgstr ""
msgid "Profiles|Give your individual key a title." msgid "Profiles|Give your individual key a title."
msgstr "" 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" msgid "Profiles|Include private contributions on my profile"
msgstr "" msgstr ""
...@@ -21882,9 +21885,6 @@ msgstr "" ...@@ -21882,9 +21885,6 @@ msgstr ""
msgid "Profiles|Path" msgid "Profiles|Path"
msgstr "" msgstr ""
msgid "Profiles|Please email %{data_request} to begin the account deletion process."
msgstr ""
msgid "Profiles|Position and size your new avatar" msgid "Profiles|Position and size your new avatar"
msgstr "" 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