Commit 19737eac by Michael Brachmann

device manager for admin view

parent f4e97894
......@@ -791,11 +791,7 @@ begin
userId := authDB.uqAuth.FieldByName('userid').AsString;
userPersonnelId := authDB.uqAuth.FieldByName('personnelid').AsString;
try
userIsAdmin := authDB.uqAuth.FieldByName('admin').AsString = 'T';
except
userIsAdmin := False;
end;
userIsAdmin := SameText(Trim(User), 'admin');
userStr := '?username=' + userName;
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