Skip to content
Snippets Groups Projects
Commit 374e5827 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

minor fixes

parent dcc670d2
No related branches found
No related tags found
No related merge requests found
......@@ -55,14 +55,14 @@ AccountManager::DB->register_db(
database => $configuration->{database}->{name},
host => $configuration->{database}->{host},
password => $configuration->{database}->{password},
username => $configuration->{database}->{user}
username => $configuration->{database}->{username}
);
my $db = AccountManager::DB->new();
SWITCH: {
if ($action eq 'add_account') { add_account(); last SWITCH; }
if ($action eq 'list_accounts') { list_account(); last SWITCH; }
if ($action eq 'list_accounts') { list_accounts(); last SWITCH; }
if ($action eq 'add_service') { add_service(); last SWITCH; }
if ($action eq 'list_services') { list_services(); last SWITCH; }
if ($action eq 'add_token') { add_token(); last SWITCH; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment