Commit 86bc8ee

mo <mo.khan@gmail.com>
2017-12-16 19:58:23
convert use to symbol.
1 parent 52410d2
Changed files (1)
lib
lib/saml/kit/configuration.rb
@@ -17,7 +17,7 @@ module Saml
       end
 
       def add_key_pair(certificate, private_key, password:, use: :signing)
-        @key_pairs.push(KeyPair.new(certificate, private_key, password, use))
+        @key_pairs.push(KeyPair.new(certificate, private_key, password, use.to_sym))
       end
 
       def generate_key_pair_for(use:, password: SecureRandom.uuid)