1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00
osu-lazer/osu.Game
Bartłomiej Dach 4126dcbe28
Fix 2FA verification via link not working correctly
Closes https://github.com/ppy/osu/issues/26835.

I must have not re-tested this correctly after all the refactors...

Basically the issue is that the websocket connection would only come
online when the API state changed to full `Online`. In particular
the connector would not attempt to connect when the API state was
`RequiresSecondFactorAuth`, giving the link-based flow no chance to
actually work.

The change in `WebSocketNotificationsClientConnector` is relevant in
that queueing requests does nothing before the API state changes to full
`Online`. It also cleans up things a bit code-wise so... win?

And yes, this means that the _other_ `PersistentEndpointClientConnector`
implementations (i.e. SignalR connectors) will also come online earlier
after this. Based on previous discussions
(https://github.com/ppy/osu/pull/25480#discussion_r1395566545) I think
this is fine, but if it is _not_ fine, then it can be fixed by exposing
a virtual that lets a connector to decide when to come alive, I guess.
2024-01-30 21:49:06 +01:00
..
Audio Add inline note about deadlock 2023-12-26 12:06:56 +09:00
Beatmaps Merge branch 'master' into dont-round-sv 2024-01-26 19:16:58 +09:00
Collections Fix collection dropdown crashing when all collections are deleted at once 2024-01-15 17:10:30 +09:00
Configuration Keep replay controls expanded by default 2024-01-18 20:13:32 +09:00
Database Do not reprocess ranks for custom rulesets 2024-01-23 12:59:36 +01:00
Extensions Fix date failing to display on leaderboard for some scores with weird datetimes 2024-01-14 13:52:39 +01:00
Graphics Merge pull request #26703 from peppy/smaller-slider-misses 2024-01-29 13:51:07 +01:00
Input Add bindings for stepping backward/forward 2024-01-18 20:38:25 +09:00
IO Add retry loop to avoid log export failing occasionally on windows 2024-01-25 13:53:36 +09:00
IPC
Localisation Merge pull request #26591 from peppy/offset-awareness 2024-01-22 14:59:31 +01:00
Models Use native query to avoid huge overheads when cleaning up realm files 2024-01-09 15:37:29 +09:00
Online Fix 2FA verification via link not working correctly 2024-01-30 21:49:06 +01:00
Overlays Add loading layer when requesting a code reissue 2024-01-29 17:54:34 +09:00
Performance Automated pass 2023-06-24 01:00:03 +09:00
Properties Automated pass 2023-06-24 01:00:03 +09:00
Replays
Rulesets Reduce overhead in ScrollingHitObjectContainer 2024-01-30 00:59:31 +03:00
Scoring Make LegacyScoreDecoder.PopulateMaximumStatistics() public 2024-01-29 21:42:38 +01:00
Screens Apply alternative solution 2024-01-29 20:07:27 +01:00
Skinning Revert "Remove dead code" (mostly) 2024-01-29 19:43:40 +09:00
Storyboards Fix storyboard animations stripping path directory on skin lookup 2024-01-17 18:39:48 +03:00
Tests Merge branch 'master' into 2fa 2024-01-29 16:57:29 +09:00
Updater use fa_download for updates instead of fa_upload 2023-07-16 15:21:15 -04:00
Users Fix one more incorrect bindable flow and simplify string setters 2024-01-17 17:00:56 +09:00
Utils Add retry loop to avoid log export failing occasionally on windows 2024-01-25 13:53:36 +09:00
.editorconfig
FodyWeavers.xml More realm analytic disables 2023-07-20 17:51:33 +09:00
osu!.res
osu.Game.csproj Update framework 2024-01-30 01:06:32 +09:00
OsuGame.cs Allow debug instances to coexist alongside release instances 2024-01-21 10:56:55 +09:00
OsuGameBase_Importing.cs Automated pass 2023-06-24 01:00:03 +09:00
OsuGameBase.cs Update endpoints to final production endpoints 2024-01-30 18:40:17 +09:00
PerformFromMenuRunner.cs Partial everything 2022-11-27 00:00:27 +09:00