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
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ level = info ...@@ -27,7 +27,7 @@ level = info
type = mysql type = mysql
host = localhost host = localhost
name = idp_account_manager name = idp_account_manager
user = idpadmin username = idpadmin
password = secret password = secret
[idp] [idp]
......
...@@ -54,11 +54,11 @@ sub new { ...@@ -54,11 +54,11 @@ sub new {
$self->{logger} = Log::Any->get_logger(); $self->{logger} = Log::Any->get_logger();
AccountManager::DB->register_db( AccountManager::DB->register_db(
driver => $self->{configuration}->{database}->{type}, driver => $self->{configuration}->{database}->{type},
database => $self->{configuration}->{database}->{name}, database => $self->{configuration}->{database}->{name},
host => $self->{configuration}->{database}->{host}, host => $self->{configuration}->{database}->{host},
password => $self->{configuration}->{database}->{password}, username => $self->{configuration}->{database}->{username},
username => $self->{configuration}->{database}->{user} password => $self->{configuration}->{database}->{password},
); );
$self->{db} = AccountManager::DB->new(); $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