Add ChangePassword component
Add non-functional Change password page and router definition.
The page has a form and some frontend validations but backend
functionality and api requests are not tied in yet. Page can be
viewed by manually navigating to /change-password.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: If5e6c6a5120b86fc457d8cab4c82333c33ef745f
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 2a41804..76d9aaf 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -35,6 +35,7 @@
"invalidValue": "Invalid value",
"lengthMustBeBetween": "Length must be between %{min} – %{max} characters",
"mustBeAtLeast": "Must be at least %{value}",
+ "passwordsDoNotMatch": "Passwords do not match",
"required": "Required",
"search": "Search",
"selectAnOption": "Select an option",
@@ -93,6 +94,7 @@
"sslCertificates": "@:appPageTitle.sslCertificates"
},
"appPageTitle": {
+ "changePassword": "Change password",
"dateTimeSettings": "Date and time settings",
"eventLogs": "Event logs",
"firmware": "Firmware",
@@ -113,6 +115,14 @@
"sslCertificates": "SSL Certificates",
"unauthorized": "Unauthorized"
},
+ "pageChangePassword": {
+ "changePassword": "Change password",
+ "changePasswordAlertMessage": "The password is expired and must be changed.",
+ "confirmNewPassword": "Confirm new password",
+ "goBack": "Go back",
+ "newPassword": "New password",
+ "username": "Username"
+ },
"pageDateTimeSettings": {
"alert": {
"message": "To change how date and time are displayed (either UTC or browser offset) throughout the application, visit ",