diff --git a/src/IdentityAuthClient.js b/src/IdentityAuthClient.js index 563e5e0441..f21db12c51 100644 --- a/src/IdentityAuthClient.js +++ b/src/IdentityAuthClient.js @@ -146,19 +146,21 @@ export default class IdentityAuthClient { const { finished } = Modal.createTrackedDialog('Default identity server terms warning', '', QuestionDialog, { title: _t("Identity server has no terms of service"), - description:
-

{_t( - "This action requires accessing the default identity server " + - " to validate an email address or phone number, but the server " + - "does not have any terms of service.", {}, - { - server: () => {abbreviateUrl(identityServerUrl)}, - }, - )}

-

{_t( - "Only continue if you trust the owner of the server.", - )}

-
, + description: ( +
+

{_t( + "This action requires accessing the default identity server " + + " to validate an email address or phone number, " + + "but the server does not have any terms of service.", {}, + { + server: () => {abbreviateUrl(identityServerUrl)}, + }, + )}

+

{_t( + "Only continue if you trust the owner of the server.", + )}

+
+ ), button: _t("Trust"), }); const [confirmed] = await finished;