Commit d95f0c3
authored
FIX: Require login for AI bot conversations page (#36669)
Unauthenticated users visiting `/discourse-ai/ai-bot/conversations` saw
a blank page. This adds a route file that checks for `currentUser` and
shows the login modal if not logged in, following the same pattern used
by `new-topic`, `new-message`, and other authenticated routes.1 parent b39afff commit d95f0c3
File tree
1 file changed
+12
-0
lines changed- plugins/discourse-ai/assets/javascripts/discourse/routes
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments