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:43 UTC

[02/14] incubator-trafficcontrol git commit: Create user API. PR review fixes

Create user API. PR review fixes


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

Branch: refs/heads/master
Commit: f80a635428caf29bb53a5f678121f973555426d1
Parents: 8042d67
Author: nir-sopher <ni...@gmail.com>
Authored: Thu Jun 1 17:28:51 2017 +0300
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon Jun 5 09:01:58 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/API/User.pm | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/f80a6354/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 306ab0a..cc2633b 100644
--- a/traffic_ops/app/lib/API/User.pm
+++ b/traffic_ops/app/lib/API/User.pm
@@ -256,10 +256,6 @@ sub create {
 		return $self->alert("confirm-local-password is required.");
 	}
 
-	if ($params->{localPassword} ne $params->{confirmLocalPassword}){
-		return $self->alert("local-password and confirmed-local-password mismatch.");
-	}
-	
 	if ( !defined($params->{role}) ) {
 		return $self->alert("role is required.");
 	}