You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/06/05 15:02:49 UTC

[08/14] incubator-trafficcontrol git commit: user does specify not set the 'registration sent' on user create. on response the value is bool like everywhere else

user does specify not set the 'registration sent' on user create. on response the value is bool like everywhere else


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/14be51b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/14be51b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/14be51b7

Branch: refs/heads/master
Commit: 14be51b73dc061a276564b3b50d7ed79f7c1ed2a
Parents: d78ad32
Author: nir-sopher <ni...@gmail.com>
Authored: Sun Mar 19 05:22:12 2017 +0200
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Jun 5 09:01:58 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/API/User.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/14be51b7/traffic_ops/app/lib/API/User.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/User.pm b/traffic_ops/app/lib/API/User.pm
index 311619f..4d972bd 100644
--- a/traffic_ops/app/lib/API/User.pm
+++ b/traffic_ops/app/lib/API/User.pm
@@ -284,7 +284,7 @@ sub create {
 		phone_number 			=> defined_or_default($params->{phoneNumber}, ""),
 		postal_code 			=> defined_or_default($params->{postalCode}, ""),
 		public_ssh_key 			=> defined_or_default($params->{publicSshKey}, ""),
-		registration_sent 		=> defined_or_default( $params->{registrationSent}, undef),
+		registration_sent 		=> undef,
 		role 				=> $params->{role},
 		state_or_province 		=> defined_or_default($params->{stateOrProvince}, ""),
 		username 			=> $params->{username},