element-web/src
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
..
actions React to read receipt changes from ourselves 2019-02-13 17:03:27 -07:00
async-components/views/dialogs Merge pull request #2617 from matrix-org/dbkr/e2e_change_all_the_strings 2019-02-12 20:38:58 +00:00
autocomplete Remove extra debug lines 2019-03-27 13:03:25 -06:00
components Merge pull request #2962 from matrix-org/jryans/gif-autoplay 2019-05-14 14:07:58 +01:00
i18n/strings Merge pull request #2947 from matrix-org/travis/password-score-config 2019-05-13 09:19:23 -06:00
notifications Show options for .m.rule.tombstone push rules 2019-03-15 14:13:15 -06:00
rageshake Convert objects and such to usable strings in rageshake 2019-03-01 09:58:54 -07:00
resizer rename to getLayout 2019-02-04 18:38:31 +00:00
settings Enable client-side aggregations for reactions 2019-05-10 17:19:27 +01:00
stores comment consistency 2019-04-08 19:12:04 +01:00
utils Fix Single Sign-on 2019-05-15 13:47:48 +01:00
wrappers
ActiveRoomObserver.js Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental" 2019-01-17 10:29:37 +01:00
AddThreepid.js Spell homeserver correctly 2019-01-31 18:52:39 -06:00
Analytics.js Add telemetry for how many people use breadcrumbs 2019-04-04 14:17:15 -06:00
Avatar.js Update avatar colors 2019-02-08 17:34:01 +00:00
BasePlatform.js delint s'more 2019-02-24 01:38:31 +00:00
CallHandler.js
CallMediaHandler.js Implement the "Voice & Video" tab of new user settings 2019-01-24 13:33:22 -07:00
ComposerHistoryManager.js
ContentMessages.js Move and lint 2019-04-12 10:37:14 +01:00
createRoom.js Handle M_UNSUPPORTED_ROOM_VERSION in invites and room creation 2019-04-09 19:03:38 -06:00
cryptodevices.js
DateUtils.js
DecryptionFailureTracker.js
dispatcher.js Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental" 2019-01-17 10:29:37 +01:00
email.js
Entities.js
extend.js
FromWidgetPostMessageApi.js General cleanup of handling for WidgetMessaging instances 2019-04-01 19:50:05 -06:00
GroupAddressPicker.js
groups.js
HtmlUtils.js Appease CI 2019-04-11 00:42:27 +01:00
ImageUtils.js
index.js Remove support for team servers 2019-01-25 16:13:30 -06:00
IntegrationManager.js Ensure scalar_token is valid before opening integrations manager 2019-03-13 11:47:00 +02:00
Keyboard.js
KeyRequestHandler.js
languageHandler.js Use $webapp rather than Webapp 2019-03-01 12:03:04 +00:00
Lifecycle.js Fix Single Sign-on 2019-05-15 13:47:48 +01:00
linkify-matrix.js
Login.js Remove dead Login.loginAsGuest() 2019-04-05 11:00:25 -06:00
Markdown.js
matrix-to.js Cache permalink creators out of the component's state 2019-04-09 12:01:09 -06:00
MatrixClientPeg.js Fix Single Sign-on 2019-05-15 13:47:48 +01:00
Modal.js delint Modal.js 2019-04-05 10:18:41 +01:00
Notifier.js Notifier is how singleton is known outside of this module, use this inside 2019-03-29 16:27:37 +01:00
ObjectUtils.js
PageTypes.js Remove old user and room settings 2019-02-04 13:40:21 -07:00
PasswordReset.js
PhasedRollOut.js
phonenumber.js
PlatformPeg.js
Presence.js Spell homeserver correctly 2019-01-31 18:52:39 -06:00
ratelimitedfunc.js replace ratelimitedfunc with lodash impl 2019-02-07 16:24:26 +00:00
Registration.js Direct some flows to the welcome page 2019-02-08 12:12:43 +00:00
Resend.js
RichText.js
Roles.js
RoomInvite.js Add common utility for checking 3pid invites 2019-03-29 11:45:07 -06:00
RoomListSorter.js
RoomNotifs.js Add badges to breadcrumb rooms 2019-04-03 15:29:15 -06:00
Rooms.js Fix settings direct chat 2019-01-21 16:05:24 +00:00
ScalarAuthClient.js Add versioning to integration manager API /register and /account calls 2019-03-13 12:39:47 +02:00
ScalarMessaging.js
SdkConfig.js Add a function to append/overwrite objects in the config on the fly 2019-04-15 14:46:00 -06:00
shouldHideEvent.js Be more positive with setting labels 2019-01-24 20:57:40 -07:00
Skinner.js
SlashCommands.js Merge branch 'develop' into t3chguy/cmd_rainbow 2019-05-12 18:51:22 -06:00
stripped-emoji.json
TextForEvent.js Add common utility for checking 3pid invites 2019-03-29 11:45:07 -06:00
Tinter.js Revert "Merge pull request #2336 from matrix-org/travis/notif-button" 2019-01-03 15:44:07 -07:00
ToWidgetPostMessageApi.js
Unread.js not the cause of the bug, but this seems wrong 2019-02-11 15:41:32 +01:00
UserActivity.js Rename more things 2019-03-12 10:28:47 +00:00
UserAddress.js
VectorConferenceHandler.js
Velociraptor.js Go back to using mainine velocity 2019-03-20 10:54:06 +00:00
VelocityBounce.js Go back to using mainine velocity 2019-03-20 10:54:06 +00:00
WhoIsTyping.js
WidgetMessaging.js Use allow/deny instead of whitelist/blacklist for terminology 2019-03-25 21:14:21 -06:00
WidgetMessagingEndpoint.js