lib/omniauth/strategies/google_apps.rb in oa-openid-0.1.6 vs lib/omniauth/strategies/google_apps.rb in oa-openid-0.2.0.beta1
- old
+ new
@@ -1,12 +1,12 @@
require 'omniauth/openid'
module OmniAuth
module Strategies
class GoogleApps < OmniAuth::Strategies::OpenID
- def initialize(app, store = nil, options = {})
+ def initialize(app, store = nil, options = {}, &block)
options[:name] ||= 'google_apps'
- super(app, store, options)
+ super(app, store, options, &block)
end
def get_identifier
OmniAuth::Form.build('Google Apps Authentication') do
label_field('Google Apps Domain', 'domain')