Adds authentication error page.

When we receive a conference failed event with reason not allowed we show that page.
pull/947/head
damencho 9 years ago
parent 57003be3a3
commit 1e54111aad
  1. 8
      authError.html
  2. 7
      conference.js

@ -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>

@ -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;

Loading…
Cancel
Save