Adds authentication error page.
When we receive a conference failed event with reason not allowed we show that page.
This commit is contained in:
parent
57003be3a3
commit
1e54111aad
|
@ -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;
|
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:
|
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
|
||||||
APP.UI.notifyBridgeDown();
|
APP.UI.notifyBridgeDown();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue