SEBWIN-801: Fixed bug with ease of access configuration verification.

This commit is contained in:
Damian Büchel 2023-11-23 18:00:35 +01:00
parent afe8b4bcca
commit af5e33c2d8

View file

@ -123,6 +123,11 @@ namespace SafeExamBrowser.Runtime.Operations
success = true;
logger.Info($"Ease of access configuration is compromised ('{value}'), but service will be active in the next session.");
}
else if (Context.Current?.Settings.Service.IgnoreService == false)
{
success = true;
logger.Info($"Ease of access configuration is set ('{value}'), but service was active in the current session.");
}
else
{
logger.Warn($"Ease of access configuration is compromised: '{value}'! Aborting session initialization...");