Skip to content

Commit

Permalink
allow SAML strategy to have a custom name
Browse files Browse the repository at this point in the history
  • Loading branch information
rwilcox authored and rajiv committed Feb 14, 2012
1 parent efb0030 commit b808a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/strategies/saml.rb
Expand Up @@ -12,7 +12,7 @@ class SAML
@@settings = {}

def initialize(app, options={})
super(app, :saml)
super( app, (options[:name] || :saml) )
@@settings = {
:assertion_consumer_service_url => options[:assertion_consumer_service_url],
:issuer => options[:issuer],
Expand Down

0 comments on commit b808a9c

Please sign in to comment.