feat: openvidu 설정
This commit is contained in:
parent
3625f42c04
commit
60baa59027
@ -98,7 +98,7 @@ public class Controller {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(findUser.getRole()==UserRole.ADMIN && lecture.isOnline() ) {
|
if(findUser.getRole()==UserRole.ADMIN ){//&& lecture.isOnline() ) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ public class Controller {
|
|||||||
return ResponseEntity.ok(Map.of("token", token.toJwt()));
|
return ResponseEntity.ok(Map.of("token", token.toJwt()));
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(findUser.getRole()==UserRole.STUDENT && lecture.isOnline() )
|
else if(findUser.getRole()==UserRole.STUDENT )// && lecture.isOnline() )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user