GRN2-118: Create a setting to require authentication to join a room (#541)

* Create a setting to require authentication to join a room

* Apply comments
This commit is contained in:
shawn-higgins1
2019-05-22 13:44:40 -04:00
committed by Jesus Federico
parent 996518eea7
commit 70acb9a7e1
11 changed files with 89 additions and 14 deletions

View File

@ -106,6 +106,11 @@ function changeBrandingImage(path) {
$.post(path, {url: url})
}
// Change whether or not user have to be signed in to join a room
function changeRoomAuthentication(checked, path) {
$.post(path, {authenticationRequired: checked})
}
// Filters by role
function filterRole(role) {
search = new URL(location.href).searchParams.get('search')