Commit a7003fc6 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

Fixed db connect before adding user

parent e8f349fd
...@@ -127,6 +127,7 @@ sub start { ...@@ -127,6 +127,7 @@ sub start {
sub add_user { sub add_user {
my $login = shift; my $login = shift;
my $ravada = Ravada->new();
print "$login password: "; print "$login password: ";
my $password = <STDIN>; my $password = <STDIN>;
chomp $password; chomp $password;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment