SEBWIN-491: Changed default value for allowedDisplaysIgnoreFailure and fixed log message on error.
This commit is contained in:
parent
ceb01441f5
commit
f4f4f10343
2 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
|
||||||
settings.ConfigurationMode = ConfigurationMode.Exam;
|
settings.ConfigurationMode = ConfigurationMode.Exam;
|
||||||
|
|
||||||
settings.Display.AllowedDisplays = 1;
|
settings.Display.AllowedDisplays = 1;
|
||||||
settings.Display.IgnoreError = false;
|
settings.Display.IgnoreError = true;
|
||||||
settings.Display.InternalDisplayOnly = false;
|
settings.Display.InternalDisplayOnly = false;
|
||||||
|
|
||||||
settings.Keyboard.AllowAltEsc = false;
|
settings.Keyboard.AllowAltEsc = false;
|
||||||
|
|
|
@ -75,7 +75,7 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
allowed = settings.IgnoreError;
|
allowed = settings.IgnoreError;
|
||||||
logger.Info("Ignoring display setup validation error and allowing active setup.");
|
logger.Warn($"Failed to validate display configuration, {(allowed ? "ignoring error" : "active configuration is not allowed")}.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return allowed;
|
return allowed;
|
||||||
|
|
Loading…
Reference in a new issue