Adds authentication error page.

When we receive a conference failed event with reason not allowed we show that page.
This commit is contained in:
damencho 2016-09-27 17:26:38 -05:00
parent 57003be3a3
commit 1e54111aad
2 changed files with 15 additions and 0 deletions

8
authError.html Normal file
View File

@ -0,0 +1,8 @@
<html>
<head>
<link rel="stylesheet" href="css/all.css"/>
</head>
<body>
<div class="redirectPageMessage">Sorry! You are not allowed to be here :(</div>
</body>
</html>

View File

@ -401,6 +401,13 @@ class ConferenceConnector {
}
break;
case ConferenceErrors.NOT_ALLOWED_ERROR:
{
// let's show some auth not allowed page
window.location.pathname = "authError.html";
}
break;
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
APP.UI.notifyBridgeDown();
break;