From 77d0732af3fe7bf218c2d6474c541f58e99ca3fa Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Wed, 16 Apr 2025 13:13:02 -0500 Subject: [PATCH] Chat: Add clarifying message to pages that require logins --- server/chat.ts | 5 +++++ 1 file changed, 5 insertions(+) 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; } }