change some settings for initial users
Store filepath for user files so we can update them individually
This commit is contained in:
parent
f1da7f9d97
commit
d31727efcc
@ -622,6 +622,9 @@ namespace EduNetworkBuilder
|
|||||||
tPC.FullName = SH.FullName;
|
tPC.FullName = SH.FullName;
|
||||||
tPC.ChangePassword(SH.Password);
|
tPC.ChangePassword(SH.Password);
|
||||||
tPC.ChangePassAtFirstLogin = ForcePWChange;
|
tPC.ChangePassAtFirstLogin = ForcePWChange;
|
||||||
|
tPC.UserSettings.AutoStartPuzzles = false; //They will start with homework
|
||||||
|
tPC.UserSettings.ChosenLanguage = CurrentUser.UserSettings.ChosenLanguage;
|
||||||
|
tPC.UserSettings.LanguageHasBeenChosen = true; //No need to start by prompting.
|
||||||
CurrentUser.Students.Add(tPC);
|
CurrentUser.Students.Add(tPC);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -679,6 +682,7 @@ namespace EduNetworkBuilder
|
|||||||
if (File.Exists(FileName)) NumSkipped++;
|
if (File.Exists(FileName)) NumSkipped++;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
PC.filepath = CurrentUser.StudentFilePath; //For now. This changes, but it helps for now.
|
||||||
NumMade++;
|
NumMade++;
|
||||||
PC.Save(FileName);
|
PC.Save(FileName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user