mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 09:58:11 +08:00
be59791db1
* Soften UIA fallback postMessage check to work cross-origin Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Do the same for the SSO UIA flow Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add support for `org.matrix.cross_signing_reset` UIA stage flow Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Check against MessageEvent::source instead Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * i18n Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove protected method Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
85 lines
2.1 KiB
Plaintext
85 lines
2.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<EmailIdentityAuthEntry/> should render 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_InteractiveAuthEntryComponents_emailWrapper"
|
|
>
|
|
<p>
|
|
<span>
|
|
To create your account, open the link in the email we just sent to
|
|
<b>
|
|
alice@example.xyz
|
|
</b>
|
|
.
|
|
</span>
|
|
</p>
|
|
<p
|
|
class="secondary"
|
|
>
|
|
<span>
|
|
Did not receive it?
|
|
<div
|
|
aria-label="Resend"
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Resend it
|
|
</div>
|
|
</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<MasUnlockCrossSigningAuthEntry/> should render 1`] = `
|
|
<div>
|
|
<div>
|
|
<p
|
|
class="_typography_yh5dq_162 _font-body-md-regular_yh5dq_59"
|
|
>
|
|
Reset your identity through your account provider and then come back and click “Retry”.
|
|
</p>
|
|
<div
|
|
class="mx_Flex"
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-4x);"
|
|
>
|
|
<button
|
|
class="_button_zt6rp_17 mx_Dialog_nonDialogButton _has-icon_zt6rp_61"
|
|
data-kind="primary"
|
|
data-size="lg"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
fill="currentColor"
|
|
height="20"
|
|
viewBox="0 0 24 24"
|
|
width="20"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<path
|
|
d="M5 3h6a1 1 0 1 1 0 2H5v14h14v-6a1 1 0 1 1 2 0v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"
|
|
/>
|
|
<path
|
|
d="M15 3h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L17.586 5H15a1 1 0 1 1 0-2Z"
|
|
/>
|
|
</svg>
|
|
Go to your account
|
|
</button>
|
|
<button
|
|
class="_button_zt6rp_17 mx_Dialog_nonDialogButton"
|
|
data-kind="secondary"
|
|
data-size="lg"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Retry
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|