You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2017/07/11 19:28:57 UTC
[1/2] incubator-trafficcontrol git commit: fix use of hash as
reference error in email blacklist lookup
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master 02d59d7b6 -> 271f871a6
fix use of hash as reference error in email blacklist lookup
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/48506d9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/48506d9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/48506d9e
Branch: refs/heads/master
Commit: 48506d9e4632c4166d3d8ebb3a26ae1071f77743
Parents: 02d59d7
Author: Dylan Volz <Dy...@comcast.com>
Authored: Tue Jul 11 11:49:31 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue Jul 11 13:28:34 2017 -0600
----------------------------------------------------------------------
traffic_ops/app/lib/MojoPlugins/Validation.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/48506d9e/traffic_ops/app/lib/MojoPlugins/Validation.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/MojoPlugins/Validation.pm b/traffic_ops/app/lib/MojoPlugins/Validation.pm
index 6d35a92..5c9daf7 100755
--- a/traffic_ops/app/lib/MojoPlugins/Validation.pm
+++ b/traffic_ops/app/lib/MojoPlugins/Validation.pm
@@ -82,8 +82,8 @@ sub register {
is_password_uncommon => sub {
my $self = shift;
my $pass = $self->param('tm_user.local_passwd');
- my %blacklist = %{$self->app->{invalid_passwords}};
- if ( defined($pass) && defined(%blacklist->{$pass}) ) {
+ my $blacklist = $self->app->{invalid_passwords};
+ if ( defined($pass) && defined($blacklist->{$pass}) ) {
$self->field('tm_user.local_passwd')->is_like( qr/ . $pass . /, "Password is too common." );
}
}
[2/2] incubator-trafficcontrol git commit: This closes #721.
Posted by da...@apache.org.
This closes #721.
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/271f871a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/271f871a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/271f871a
Branch: refs/heads/master
Commit: 271f871a62b8f11d3664bb6ef2dfbd1c709b68a3
Parents: 48506d9
Author: Dan Kirkwood <da...@gmail.com>
Authored: Tue Jul 11 13:28:37 2017 -0600
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Tue Jul 11 13:28:37 2017 -0600
----------------------------------------------------------------------
----------------------------------------------------------------------