Commit 19737eac by Michael Brachmann

device manager for admin view

parent f4e97894
...@@ -791,11 +791,7 @@ begin ...@@ -791,11 +791,7 @@ begin
userId := authDB.uqAuth.FieldByName('userid').AsString; userId := authDB.uqAuth.FieldByName('userid').AsString;
userPersonnelId := authDB.uqAuth.FieldByName('personnelid').AsString; userPersonnelId := authDB.uqAuth.FieldByName('personnelid').AsString;
try userIsAdmin := SameText(Trim(User), 'admin');
userIsAdmin := authDB.uqAuth.FieldByName('admin').AsString = 'T';
except
userIsAdmin := False;
end;
userStr := '?username=' + userName; userStr := '?username=' + userName;
userStr := userStr + '&fullname=' + userFullName; userStr := userStr + '&fullname=' + userFullName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment