Verified Commit 802e4402 authored by Damien's avatar Damien

FEAT #10837 TIME 0:05 default connection

parent 82346744
......@@ -66,4 +66,4 @@ INSERT INTO password_rules (label, "value") VALUES ('renewal', 90);
TRUNCATE TABLE configurations;
INSERT INTO configurations (identifier, value) VALUES ('emailServer', '{"type" : "smtp", "host" : "smtp.gmail.com", "port" : 465, "user" : "", "password" : "", "auth" : true, "secure" : "ssl", "from" : "notifications@maarch.org", "charset" : "utf-8"}');
INSERT INTO configurations (identifier, value) VALUES ('ldapServer', '[{"uri" : "10.2.95.60", "prefix" : "MAARCH", "suffix" : "", "ssl" : false}]');
INSERT INTO configurations (identifier, value) VALUES ('connection', '"standard"');
INSERT INTO configurations (identifier, value) VALUES ('connection', '"default"');
......@@ -80,7 +80,7 @@ class ConfigurationModel
]);
if (empty($configuration[0])) {
return 'standard';
return 'default';
}
$connection = json_decode($configuration[0]['value']);
......
Markdown is supported
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