mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: Multiplayer provider does not emit authenticationFailed for all instances
This commit is contained in:
@@ -164,6 +164,11 @@ function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) {
|
||||
if (ev.event.code === EditorUpdateError.code) {
|
||||
setEditorVersionBehind(true);
|
||||
}
|
||||
if (ev.event.code === 4403) {
|
||||
void auth.fetchAuth().catch(() => {
|
||||
history.replace(homePath());
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user