Move changing password after the user has been created.

This commit is contained in:
Tim Young 2017-08-15 17:22:55 -05:00
parent 879944f93f
commit 63826f9c3e

View File

@ -113,6 +113,8 @@ namespace EduNetworkBuilder
CurrentUser.UserSettings.AutoStartPuzzles = false; CurrentUser.UserSettings.AutoStartPuzzles = false;
CurrentUser.UserSettings.ChosenLanguage = oldsettings.ChosenLanguage; CurrentUser.UserSettings.ChosenLanguage = oldsettings.ChosenLanguage;
CurrentUser.UserSettings.LanguageHasBeenChosen = true; CurrentUser.UserSettings.LanguageHasBeenChosen = true;
CurrentUser.ChangePassAtFirstLogin = true;
CurrentUser.ChangePassword(true); //If they do not set a password now, they will do it next time
} }
else if (CurrentUser == null) else if (CurrentUser == null)