Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix bug in which a database is not created without an admin username
note that this fix is to more completely require a username, it would
still fail if you somehow subverted that check

fixes #49
  • Loading branch information
jberger committed Jan 7, 2016
1 parent ff5652f commit 3d7c483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Changes
@@ -1,8 +1,8 @@
Revision history for Perl module Galileo

0.040
0.040 2016-01-07
- Remove jQueryUI in favor of html5sortable
- Fix configuration writing bug in setup app
- Fix a couple setup app bugs

0.039 2015-09-28
- Simplify home path logic
Expand Down
5 changes: 2 additions & 3 deletions lib/Galileo/Command/setup.pm
Expand Up @@ -84,12 +84,11 @@ sub run {
return $self->redirect_to('database');
}

my $user = $self->param('user');
my $full = $self->param('full');

my $dh = $self->dh;

eval {
my $user = $self->param('user') || die "Admin Username is required\n";
my $full = $self->param('full');
$dh->do_install;
$dh->inject_sample_data($user, $pw1, $full);
};
Expand Down

0 comments on commit 3d7c483

Please sign in to comment.