Files
element-web/src
Travis Ralston c0632d0195 Acquire a new session before enacting deactivation
Fixes https://github.com/vector-im/riot-web/issues/13645

Every time the checkbox value changes we acquire a new session now. This avoids us asking the server to change its direction partway through the request.

This causes a bit of UI jerk as the dialog goes from auth -> loading -> auth, however it's better than the alternative of reworking the entire UIA structure to support the `authData` dict changing. Originally this commit consisted of a `disabled` flag on the `InteractiveAuth` component which carried through to the stage's component, however it turns out that stack doesn't respect changes to the `authData` prop, which means the session ID we eventually send down is wrong (`erase: false` instead of the one with `erase: true`). Therefore, we do some logic to ensure we remount `InteractiveAuth` completely.

Further work in this area is described in https://github.com/vector-im/riot-web/issues/13646
2020-05-12 17:17:17 -06:00
..
C
2020-04-22 13:08:33 +01:00
2020-01-16 01:45:16 +00:00
2020-03-09 15:24:56 +00:00
2020-03-30 20:24:53 -06:00
2020-04-28 10:59:10 +02:00
2020-04-16 12:52:35 +01:00
2020-04-20 19:17:58 +01:00
2020-04-22 23:27:33 +01:00
2020-02-06 15:29:35 +01:00
2020-04-01 10:40:03 +01:00
2020-01-28 12:53:37 +00:00
2020-05-12 10:23:53 +01:00