Legalizator (= 2nd user) support, ver. 2.16.667

This commit is contained in:
Milan Hanajik
2017-09-26 09:45:18 +02:00
parent fb1db6df1c
commit 18dac8fb72
21 changed files with 320 additions and 160 deletions
+3 -2
View File
@@ -215,7 +215,7 @@ namespace TBF
GlobalData.RemoteUsersDB = LocalSettings.TestBenches[i].UsersDBSettings;
GlobalData.LocalUsersDB = LocalSettings.TestBenches[i].ProceduresDBSettings;
Users.IUser loadedUser = null;
Users.Entities.User loadedUser = null;
try
{
bool authorized = false;
@@ -275,7 +275,8 @@ namespace TBF
if (authorized)
{
Users.GlobalData.AuthorizedAs = authorizedAs;
loadedUser.SetLegalizator(loginDlgBench.Legalizator);
Users.GlobalData.AuthorizedAs = authorizedAs;
LocalSettings.LoginMethod = loginDlgBench.Method; /// Save the login method actually used