From 9c5caa62a8e8a860e1ac17f6226985c30e486993 Mon Sep 17 00:00:00 2001 From: Jeremy Mitchell Date: Mon, 31 Oct 2016 15:32:26 -0600 Subject: [PATCH] adds back localUser field to /api/user/current route --- traffic_ops/app/lib/API/User.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/traffic_ops/app/lib/API/User.pm b/traffic_ops/app/lib/API/User.pm index 0dac324a23..2e6b3873f8 100644 --- a/traffic_ops/app/lib/API/User.pm +++ b/traffic_ops/app/lib/API/User.pm @@ -286,6 +286,7 @@ sub current { "email" => "", "fullName" => "", "newUser" => \0, + "localUser" => \0, "addressLine1" => "", "addressLine2" => "", "city" => "", @@ -313,6 +314,7 @@ sub current { "email" => $row->email, "fullName" => $row->full_name, "newUser" => \$row->new_user, + "localUser" => \1, "addressLine1" => $row->address_line1, "addressLine2" => $row->address_line2, "city" => $row->city,