Skip to content

Commit

Permalink
Redirect to token revoked page when the realtime connection sees a fa…
Browse files Browse the repository at this point in the history
…ilure

This way people get some context for why they got kicked out during the Gitter migration,
see element-hq/roadmap#26
  • Loading branch information
MadLittleMods committed Feb 11, 2023
1 parent 37fcbc6 commit de610ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/components/realtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var accessTokenFailureExtension = {
window.alert(
`Realtime communications with the server have been disconnected. ${message.error}`
);
logout();
logout('/login/token-revoked');
}
}

Expand Down

0 comments on commit de610ec

Please sign in to comment.