summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-07 20:06:57 +0100
committerAzul <azul@leap.se>2013-01-07 20:06:57 +0100
commit48258a0df7d4715a2b5533d94ef0f5906f08ea96 (patch)
treeac600223264a3fce373cf2152835469bca001ce4
parentbb4a9babebfe6144464df8d305cfd77f3e22ae7d (diff)
prevent requiring leap_ca database settings
-rw-r--r--certs/lib/leap_web_certs/engine.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/certs/lib/leap_web_certs/engine.rb b/certs/lib/leap_web_certs/engine.rb
index 118aee0..471c648 100644
--- a/certs/lib/leap_web_certs/engine.rb
+++ b/certs/lib/leap_web_certs/engine.rb
@@ -1,5 +1,7 @@
require "leap_web_core"
-require "leap_ca"
+require "leap_ca/config"
+LeapCA::Config.db_name = "client_certificates"
+require "leap_ca/cert"
module LeapWebCerts
class Engine < ::Rails::Engine