element-web/src/utils
David Baker da1bff1c5d Fix Single Sign-on
https://github.com/matrix-org/matrix-react-sdk/pull/2826 checked
that we had data in the crypto store if the had credentials in
localStorage. However, SSO stores creds in localStorage and then
redirects the browser to remove the loginToken parameter from the
URL without starting crypto, so after the redirect, we see creds
in localStorage but no crypto data, and error.

Fix by marking when we've successfully initialised crypto and only
erroring if that flag is set.

Fixes https://github.com/vector-im/riot-web/issues/9695
2019-05-15 13:47:48 +01:00
..
colour.js add /rainbow and /rainbowme Slash Commands 2019-05-12 16:36:43 +01:00
createMatrixClient.js Remove unused option for disabling IndexedDB 2019-03-26 13:29:04 +00:00
DecryptFile.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
DirectoryUtils.js move room directory logic over from riot-web 2018-04-11 23:58:46 +01:00
DMRoomMap.js eslint --fix src/ 2018-10-26 22:50:38 -05:00
ErrorUtils.js Error on splash screen if sync is failing 2018-09-07 12:18:25 +01:00
EventUtils.js Extract isContentActionable to a separate helper 2019-05-02 12:05:17 +01:00
FormattingUtils.js move name coloring out of sender profile 2019-04-17 10:21:30 +02:00
HostingLink.js Only show hosting link if domain == matrix.org 2019-03-06 10:22:19 +00:00
MegolmExportEncryption.js actually clear bit 63 instead of bit 55 2019-04-25 11:04:48 -04:00
MultiInviter.js Handle M_UNSUPPORTED_ROOM_VERSION in invites and room creation 2019-04-09 19:03:38 -06:00
pages.js Remove the white screen of welcome 2019-02-14 12:35:09 +00:00
PasswordScorer.js Check password complexity during registration 2019-04-25 14:29:10 +01:00
PinningUtils.js Show an indicator when there are any pins in the room 2017-11-03 20:00:48 -06:00
Receipt.js Run eslint --fix 2017-10-11 17:56:17 +01:00
ResizeNotifier.js fix lint 2019-03-28 18:29:48 +01:00
StorageManager.js Fix Single Sign-on 2019-05-15 13:47:48 +01:00
Timer.js Fix remaining warnings for enabled files 2019-01-23 18:38:49 -06:00
WidgetUtils.js Track OpenID automatic permissions by (widgetLocation, widgetUrl) 2019-03-23 23:25:31 -06:00