make sure to only check for admins in deploy script
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[BUG FIXES]
|
[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
|
2.023000 - 2014-02-10
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
if ($users->count == 0) {
|
||||||
say '';
|
say '';
|
||||||
print color 'bold green';
|
print color 'bold green';
|
||||||
|
|||||||
Reference in New Issue
Block a user