Get teacher to set a password at the beginning
This commit is contained in:
parent
6bfc101468
commit
f478221169
@ -1994,6 +1994,8 @@ namespace EduNetworkBuilder
|
|||||||
private void classSetupToolStripMenuItem_Click(object sender, EventArgs e)
|
private void classSetupToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
PersonProfileForm PPF = new PersonProfileForm();
|
PersonProfileForm PPF = new PersonProfileForm();
|
||||||
|
CurrentUser.ChangePassAtFirstLogin = true;
|
||||||
|
CurrentUser.ChangePassword(true); //If they do not set a password now, they will do it next time
|
||||||
CurrentUser = PPF.Edit();
|
CurrentUser = PPF.Edit();
|
||||||
UpdateMenu();
|
UpdateMenu();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user