Make a machine password. Will be used to let the admin user open student files
This commit is contained in:
parent
1396b72752
commit
ff37a1b0ef
@ -148,6 +148,10 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
return GenUserPW(RanGen, NB.DefaultPasswordLen);
|
return GenUserPW(RanGen, NB.DefaultPasswordLen);
|
||||||
}
|
}
|
||||||
|
public static string GenMachinePW(Random RanGen)
|
||||||
|
{
|
||||||
|
return GenUserPW(RanGen, NB.DefaultMachinePasswordLen);
|
||||||
|
}
|
||||||
|
|
||||||
public static string GenUserPW(Random RanGen, int length)
|
public static string GenUserPW(Random RanGen, int length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user