Skip to content
Snippets Groups Projects
Commit da762f51 authored by Richard Alam's avatar Richard Alam
Browse files

- fix problem where the client gets loaded even when user enters the wrong password

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1585 af16638f-c34d-0410-8cfa-b39d5352b314
parent db241f72
No related branches found
No related tags found
No related merge requests found
......@@ -114,30 +114,30 @@ class PublicScheduledSessionController {
session["conference"] = confSession.tokenId
session["room"] = confSession.sessionId
session["voicebridge"] = confSession.voiceConferenceBridge
}
def long _10_MINUTES = 10*60*1000
def startTime = confSession.startDateTime.time - _10_MINUTES
def endTime = confSession.endDateTime.time + _10_MINUTES
if ((startTime <= now.time) && (now.time <= endTime)) {
session["mode"] = "LIVE"
session["record"] = false
if (confSession.record) {
session["record"] = true
def long _10_MINUTES = 10*60*1000
def startTime = confSession.startDateTime.time - _10_MINUTES
def endTime = confSession.endDateTime.time + _10_MINUTES
if ((startTime <= now.time) && (now.time <= endTime)) {
session["mode"] = "LIVE"
session["record"] = false
if (confSession.record) {
session["record"] = true
}
log.debug "Joining LIVE and recording is ${confSession.record}"
} else {
session["mode"] = "PLAYBACK"
log.debug "Joining PLAYBACK"
}
log.debug "Joining LIVE and recording is ${confSession.record}"
} else {
session["mode"] = "PLAYBACK"
log.debug "Joining PLAYBACK"
log.debug "Displaying session information"
//redirect(action:show)
def config = ConfigurationHolder.config
def hostUrl = config.bigbluebutton.web.serverURL
redirect(url:"${hostUrl}/client/BigBlueButton.html")
}
log.debug "Displaying session information"
//redirect(action:show)
def config = ConfigurationHolder.config
def hostUrl = config.bigbluebutton.web.serverURL
redirect(url:"${hostUrl}/client/BigBlueButton.html")
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment