summaryrefslogtreecommitdiff
path: root/certs/app/controllers/certs_controller.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-26 11:08:05 +0100
committerAzul <azul@leap.se>2013-01-26 11:08:05 +0100
commit0975583e3c6ec9d2bf0269841073031537db1c37 (patch)
treed135b5fbadd2db85f1addf5c1f36a68628725463 /certs/app/controllers/certs_controller.rb
parent4c2abd107f5959ea0f15f052acf73440648d8d52 (diff)
we're not using a cert pool anymore - remove anything related
Diffstat (limited to 'certs/app/controllers/certs_controller.rb')
-rw-r--r--certs/app/controllers/certs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/app/controllers/certs_controller.rb b/certs/app/controllers/certs_controller.rb
index d81aea0..3ec2f68 100644
--- a/certs/app/controllers/certs_controller.rb
+++ b/certs/app/controllers/certs_controller.rb
@@ -4,7 +4,7 @@ class CertsController < ApplicationController
# GET /cert
def show
- @cert = LeapCA::Cert.pick_from_pool
+ @cert = ClientCertificate.create
render :text => @cert.key + @cert.cert, :content_type => 'text/plain'
rescue RECORD_NOT_FOUND
flash[:error] = t(:cert_pool_empty)