Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn users of E2E key loss when changing/resetting passwords or logging out #646

Merged
merged 4 commits into from Jan 25, 2017

Conversation

ara4n
Copy link
Member

@ara4n ara4n commented Jan 24, 2017

}
);
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
Modal.createDialog(QuestionDialog, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is an appropriate place to be popping up the modal - this is supposed to be the low-level interface to MatrixClient. For example, this will appear after the error dialog telling you you've been logged out when your access-token is invalidated.

Please can this go somewhere else and be called when the "Sign out" button is clicked?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed, fixed.

@richvdh richvdh assigned ara4n and unassigned richvdh Jan 24, 2017
also, kill off the inexplicably useless LogoutPrompt in favour of a normal QuestionDialog.
This in turn fixes element-hq/element-web#2152
@ara4n ara4n assigned richvdh and unassigned ara4n Jan 24, 2017
also, kill off the inexplicably useless LogoutPrompt in favour of a normal QuestionDialog.
This in turn fixes element-hq/element-web#2152
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, though it will cause lint warnings and therefore fail the build.

@dbkr what do we want to do about this?

@richvdh richvdh assigned dbkr and unassigned richvdh Jan 24, 2017
@dbkr
Copy link
Member

dbkr commented Jan 25, 2017

There's a mix here: some legit warnings and other are max-len warnings on the JSX where I'd question the value of limiting to 90 columns. Let's just merge it given matthew's nominally OOO.

@dbkr dbkr merged commit fc9987a into develop Jan 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants