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

use same configuration directives as the registry

parent 521e76cf
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ level = info
type = mysql
host = localhost
name = idp_account_manager
user = idpadmin
username = idpadmin
password = secret
[idp]
......
......@@ -54,11 +54,11 @@ sub new {
$self->{logger} = Log::Any->get_logger();
AccountManager::DB->register_db(
driver => $self->{configuration}->{database}->{type},
database => $self->{configuration}->{database}->{name},
host => $self->{configuration}->{database}->{host},
password => $self->{configuration}->{database}->{password},
username => $self->{configuration}->{database}->{user}
driver => $self->{configuration}->{database}->{type},
database => $self->{configuration}->{database}->{name},
host => $self->{configuration}->{database}->{host},
username => $self->{configuration}->{database}->{username},
password => $self->{configuration}->{database}->{password},
);
$self->{db} = AccountManager::DB->new();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment