- To return to your account in future you need to set a password
+ { _t("To return to your account in future you need to set a password") }
);
- }
+ },
});
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 4717e267..99b961a0 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -198,5 +198,7 @@
"Please set a password!": "Please set a password!",
"This will allow you to return to your account after signing out, and sign in on other devices.": "This will allow you to return to your account after signing out, and sign in on other devices.",
"You have successfully set a password and an email address!": "You have successfully set a password and an email address!",
- "Remember, you can always set an email address in user settings if you change your mind.": "Remember, you can always set an email address in user settings if you change your mind."
+ "Remember, you can always set an email address in user settings if you change your mind.": "Remember, you can always set an email address in user settings if you change your mind.",
+ "To return to your account in future you need to set a password": "To return to your account in future you need to set a password",
+ "Set Password"
}
diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss b/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss
index 9809a81a..7fa8ceb8 100644
--- a/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss
+++ b/src/skins/vector/css/matrix-react-sdk/structures/_UserSettings.scss
@@ -102,6 +102,19 @@ limitations under the License.
padding-right: 1em;
}
+.mx_UserSettings_passwordWarning {
+ padding: 6px;
+ background-color: #76cfa6;
+ border-radius: 3px;
+ color: #fff;
+ margin-bottom: 5px;
+}
+
+.mx_UserSettings_passwordWarning_icon {
+ vertical-align: -6px;
+ margin-right: 3px;
+}
+
.mx_UserSettings_importExportButtons {
padding-top: 10px;
padding-left: 40px;