Make more explicit the risks of removing accounts
Make sure people understand what are the implications of removing
their own account, and fix typos in the message.
Change-Id: Ie688a1afd1770aad6efb6ddbb187980c57addd33
diff --git a/src/main/resources/static/account.html b/src/main/resources/static/account.html
index 1377a33..b4696db 100644
--- a/src/main/resources/static/account.html
+++ b/src/main/resources/static/account.html
@@ -81,14 +81,16 @@
from Gerrit Code Review and deactivate your account. <strong>This
operation CANNOT BE UNDONE</strong> and your account and the
associated personal information will be completely
- removed.
+ wiped out. Any attempt to sign-in to GerritHub with your old identity
+ will be denied to prevent anybody else from impersonate your removed
+ user id.
</p>
- <p>If you sign-up again, you will be creating a
- completely different Gerrit account.</p>
+ <p>You <b>WOULD NOT BE ABLE TO SIGN-UP AGAIN</b>, unless you rename or create
+ a new GitHub account and thus creating a completely new GerritHub identity.</p>
<hr />
<p>If you do wish to continue, please enter again your
- full name below to confirm that you have read and
- understood the implications of your action and you woud
+ full name below to confirm that you have <p>READ AND UNERSTOOD</p>
+ the implications of this operation and you would
like to proceed.</p>
<form>
<div class="form-group">
diff --git a/src/main/resources/static/js/account.js b/src/main/resources/static/js/account.js
index 0f09f02..8086193 100644
--- a/src/main/resources/static/js/account.js
+++ b/src/main/resources/static/js/account.js
@@ -64,7 +64,7 @@
$scope.alert = "Oops, something went wrong. Your full name does not match your profile (" + response.data.account_info.fullname + "). Please double-check and try again."
} else {
$http.get('/logout').then(function(response) {
- $scope.deleted = "Your account has been deletedfuly removed and you have been logged out from Gerrit Code Review";
+ $scope.deleted = "Your account has been removed and you have been logged out from Gerrit Code Review";
});
}
}, function(rejection) {