make sure to only check for admins in deploy script

This commit is contained in:
Oliver Gorwits
2014-02-13 20:18:40 +00:00
parent f8dbf824d6
commit f3eb4ce7bd
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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';