mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-19 05:21:22 +02:00
Keep cancel button for now and make login unfilled
This commit is contained in:
parent
f980bfec9e
commit
ae9c2f2c4a
@ -69,12 +69,12 @@ export async function startAnyRegistrationFlow(options) {
|
||||
//} else {
|
||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
const modal = Modal.createTrackedDialog('Registration required', '', QuestionDialog, {
|
||||
hasCancelButton: false,
|
||||
hasCancelButton: true,
|
||||
title: _t("Sign In or Create Account"),
|
||||
description: _t("Use your account or create a new one to continue."),
|
||||
button: _t("Create Account"),
|
||||
extraButtons: [
|
||||
<button className="mx_Dialog_primary" key="start_login"
|
||||
<button key="start_login"
|
||||
onClick={() => {
|
||||
modal.close();
|
||||
dis.dispatch({action: 'start_login',
|
||||
|
Loading…
x
Reference in New Issue
Block a user