Move changing password after the user has been created.
This commit is contained in:
parent
879944f93f
commit
63826f9c3e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user