Added missing default values for browser and configuration mode.

This commit is contained in:
dbuechel 2020-02-11 10:34:23 +01:00
parent 2cde60b1e7
commit 7e3703dc16
2 changed files with 4 additions and 1 deletions

View file

@ -120,6 +120,7 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
settings.Browser.AllowPdfReader = true;
settings.Browser.AllowPdfReaderToolbar = false;
settings.Browser.AllowUploads = true;
settings.Browser.EnableBrowser = true;
settings.Browser.MainWindow.AllowAddressBar = false;
settings.Browser.MainWindow.AllowBackwardNavigation = false;
settings.Browser.MainWindow.AllowDeveloperConsole = false;
@ -133,6 +134,8 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
settings.Browser.Proxy.Policy = ProxyPolicy.System;
settings.Browser.StartUrl = "https://www.safeexambrowser.org/start";
settings.ConfigurationMode = ConfigurationMode.Exam;
settings.Keyboard.AllowAltEsc = false;
settings.Keyboard.AllowAltF4 = false;
settings.Keyboard.AllowAltTab = true;

View file

@ -60,7 +60,7 @@ namespace SafeExamBrowser.Runtime.Operations
Title = TextKey.MessageBox_VirtualMachineNotAllowedTitle
};
logger.Error("Detected virtual machine while SEB is not allowed to be run in a virtual machine! Aborting startup...");
logger.Error("Detected virtual machine while SEB is not allowed to be run in a virtual machine! Aborting...");
ActionRequired?.Invoke(args);
return OperationResult.Aborted;