From 8b1f6c135114b8223567d09908e795d5ffe2b962 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 13 Mar 2025 12:15:55 +0100 Subject: [PATCH] frontend: Update unauthorized error message for participant access --- .../errors/unauthorized/unauthorized.component.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/frontend/projects/shared-meet-components/src/lib/components/errors/unauthorized/unauthorized.component.ts b/frontend/projects/shared-meet-components/src/lib/components/errors/unauthorized/unauthorized.component.ts index 9400a96..e165c8d 100644 --- a/frontend/projects/shared-meet-components/src/lib/components/errors/unauthorized/unauthorized.component.ts +++ b/frontend/projects/shared-meet-components/src/lib/components/errors/unauthorized/unauthorized.component.ts @@ -25,15 +25,10 @@ export class UnauthorizedComponent implements OnInit { case 'invalid-participant': this.message = 'The participant name must be provided'; break; - // case 'no-token': - // this.message = 'No token provided'; - // break; - // case 'no-iframe-allowed': - // this.message = 'The page is not accessible directly from an iframe. Please use the OpenVidu Embedded'; - // break; - // case 'embedded': - // this.message = 'The page is not accessible directly. Please use the OpenVidu Embedded'; - // break; + case 'unauthorized-participant': + this.message = 'You are not authorized to join this room'; + break; + default: this.message = 'Unauthorized access'; break;