diff --git a/server/chat.ts b/server/chat.ts index c5744d2937..b4780c4b73 100644 --- a/server/chat.ts +++ b/server/chat.ts @@ -494,6 +494,11 @@ export class PageContext extends MessageContext { this.setHTML(res); res = undefined; } + if (res === Rooms.RETRY_AFTER_LOGIN) { + this.setHTML( + `Please log in before accessing this page (don't worry, it will load automatically once you do so).` + ); + } return res; } }