diff --git a/SafeExamBrowser.Proctoring/ProctoringController.cs b/SafeExamBrowser.Proctoring/ProctoringController.cs index 89979ba9..e2533dba 100644 --- a/SafeExamBrowser.Proctoring/ProctoringController.cs +++ b/SafeExamBrowser.Proctoring/ProctoringController.cs @@ -98,7 +98,7 @@ namespace SafeExamBrowser.Proctoring { start = !string.IsNullOrWhiteSpace(settings.Zoom.ApiKey); start &= !string.IsNullOrWhiteSpace(settings.Zoom.ApiSecret); - start &= settings.Zoom.MeetingNumber != default(int); + start &= !string.IsNullOrWhiteSpace(settings.Zoom.MeetingNumber); start &= !string.IsNullOrWhiteSpace(settings.Zoom.UserName); } @@ -236,7 +236,7 @@ namespace SafeExamBrowser.Proctoring { html = html.Replace("%%_API_KEY_%%", settings.Zoom.ApiKey); html = html.Replace("%%_API_SECRET_%%", settings.Zoom.ApiSecret); - html = html.Replace("123456789", Convert.ToString(settings.Zoom.MeetingNumber)); + html = html.Replace("%%_MEETING_NUMBER_%%", settings.Zoom.MeetingNumber); html = html.Replace("%%_USER_NAME_%%", settings.Zoom.UserName); } diff --git a/SafeExamBrowser.Proctoring/Zoom/index.html b/SafeExamBrowser.Proctoring/Zoom/index.html index a29ac0e8..9d01209b 100644 --- a/SafeExamBrowser.Proctoring/Zoom/index.html +++ b/SafeExamBrowser.Proctoring/Zoom/index.html @@ -1,36 +1,31 @@
- - + + - - - - - - - + + + + + + +