HttpPasswordUpdateEmailDecorator: Fix link to http credentials
It's not http-password, it's HTTPCredentials.
Also update dev-crafting-changes and SUBMITTING_PATCHES with the change.
Release-Notes: HttpPasswordUpdateEmailDecorator: Fix link to http credentials
Change-Id: I54ea55a7985487a315e6bfae6688536d04e3a66d
(cherry picked from commit 26cf05eecefd9ab679a83b80c897a481cb17b15c)
diff --git a/Documentation/dev-crafting-changes.txt b/Documentation/dev-crafting-changes.txt
index 6150c20..fcc457a 100644
--- a/Documentation/dev-crafting-changes.txt
+++ b/Documentation/dev-crafting-changes.txt
@@ -119,7 +119,7 @@
The HTTPS access requires proper username and password; this can be obtained
by clicking the 'Obtain Password' link on the
-link:https://gerrit-review.googlesource.com/#/settings/http-password[HTTP
+link:https://gerrit-review.googlesource.com/settings/#HTTPCredentials[HTTP
Password tab of the user settings page,role=external,window=_blank].
Alternately, you may use the
diff --git a/SUBMITTING_PATCHES b/SUBMITTING_PATCHES
index 5a82fd9..14437da 100644
--- a/SUBMITTING_PATCHES
+++ b/SUBMITTING_PATCHES
@@ -62,11 +62,11 @@
agreements, providing documentation to the project maintainers that
they have right to redistribute your work under the Apache License:
- https://gerrit-review.googlesource.com/#/settings/agreements
+ https://gerrit-review.googlesource.com/settings/#Agreements
Ensure you have obtained a unique HTTP password to identify yourself:
- https://gerrit-review.googlesource.com/#/settings/http-password
+ https://gerrit-review.googlesource.com/settings/#HTTPCredentials
Ensure you have installed the commit-msg hook that automatically
generates and inserts a Change-Id line during "git commit". This can
diff --git a/java/com/google/gerrit/server/mail/send/HttpPasswordUpdateEmailDecorator.java b/java/com/google/gerrit/server/mail/send/HttpPasswordUpdateEmailDecorator.java
index af265a6..1feba6d 100644
--- a/java/com/google/gerrit/server/mail/send/HttpPasswordUpdateEmailDecorator.java
+++ b/java/com/google/gerrit/server/mail/send/HttpPasswordUpdateEmailDecorator.java
@@ -53,7 +53,7 @@
email.addSoyEmailDataParam("email", getEmail());
email.addSoyEmailDataParam("userNameEmail", email.getUserNameEmailFor(user.getAccountId()));
email.addSoyEmailDataParam("operation", operation);
- email.addSoyEmailDataParam("httpPasswordSettingsUrl", email.getSettingsUrl("http-password"));
+ email.addSoyEmailDataParam("httpPasswordSettingsUrl", email.getSettingsUrl("HTTPCredentials"));
email.appendText(email.textTemplate("HttpPasswordUpdate"));
if (email.useHtml()) {