Skip to content

[FIX] E2E data not cleared on logout#12254

Merged
sampaiodiego merged 4 commits intodevelopfrom
fix.e2e-banner-not-closing-on-logout
Oct 4, 2018
Merged

[FIX] E2E data not cleared on logout#12254
sampaiodiego merged 4 commits intodevelopfrom
fix.e2e-banner-not-closing-on-logout

Conversation

@Hudell
Copy link
Copy Markdown
Contributor

@Hudell Hudell commented Oct 3, 2018

Closes #ISSUE_NUMBER

@Hudell Hudell added this to the 0.70.1 milestone Oct 3, 2018
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-12254 October 3, 2018 17:08 Inactive
]);

api.mainModule('client/rocketchat.e2e.js', 'client');
api.addFiles('client/events.js', 'client');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you move these imports (addFiles) to inside the main module of the respective side (client/server)?

}
localStorage.removeItem('e2e.randomPassword');
alerts.close();
self.closeAlert();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You could change the action() { to action: () => { then you will not need the self var

@rodrigok rodrigok changed the title [FIX] E2E data not cleared on logout. [FIX] E2E data not cleared on logout Oct 4, 2018
@sampaiodiego sampaiodiego merged commit 64e8e3b into develop Oct 4, 2018
@sampaiodiego sampaiodiego deleted the fix.e2e-banner-not-closing-on-logout branch October 4, 2018 20:05
This was referenced Oct 4, 2018
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.

5 participants