- 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
This commit is contained in:
Richard Alam 2009-06-10 14:49:24 +00:00
parent db241f7240
commit da762f5164

View File

@ -114,30 +114,30 @@ class PublicScheduledSessionController {
session["conference"] = confSession.tokenId session["conference"] = confSession.tokenId
session["room"] = confSession.sessionId session["room"] = confSession.sessionId
session["voicebridge"] = confSession.voiceConferenceBridge session["voicebridge"] = confSession.voiceConferenceBridge
}
def long _10_MINUTES = 10*60*1000
def startTime = confSession.startDateTime.time - _10_MINUTES def long _10_MINUTES = 10*60*1000
def endTime = confSession.endDateTime.time + _10_MINUTES
def startTime = confSession.startDateTime.time - _10_MINUTES
if ((startTime <= now.time) && (now.time <= endTime)) { def endTime = confSession.endDateTime.time + _10_MINUTES
session["mode"] = "LIVE"
session["record"] = false if ((startTime <= now.time) && (now.time <= endTime)) {
if (confSession.record) { session["mode"] = "LIVE"
session["record"] = true 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 { log.debug "Displaying session information"
session["mode"] = "PLAYBACK" //redirect(action:show)
log.debug "Joining PLAYBACK" 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")
} }
} }
} }