From f3eb4ce7bd5f3322ec787ad6b62bdd4efaaf341b Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 13 Feb 2014 20:18:40 +0000 Subject: [PATCH] make sure to only check for admins in deploy script --- Netdisco/Changes | 2 +- Netdisco/bin/netdisco-deploy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Netdisco/Changes b/Netdisco/Changes index a91953b4..94c39e82 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -2,7 +2,7 @@ [BUG FIXES] - * [80] Password fields in User Management panel should be masked + * [89] Password fields in User Management panel should be masked 2.023000 - 2014-02-10 diff --git a/Netdisco/bin/netdisco-deploy b/Netdisco/bin/netdisco-deploy index cda994ae..c18c1f72 100755 --- a/Netdisco/bin/netdisco-deploy +++ b/Netdisco/bin/netdisco-deploy @@ -122,7 +122,7 @@ sub _make_password { } } -my $users = schema('netdisco')->resultset('User'); +my $users = schema('netdisco')->resultset('User')->search({-bool => 'admin'}); if ($users->count == 0) { say ''; print color 'bold green';