Sha256: ce8f7c51aad50078b749a1b54788654278d6b5d57d9171503aeec9e0dff80923

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

Rails.application.config.middleware.use OmniAuth::Builder do
	provider :identity, :fields => [:email, :name], :model => OdaniaOmniauthAuthentication::Identity,
				:on_failed_registration =>  OdaniaOmniauthAuthentication::SessionsController.action(:new)
end
OmniAuth.config.logger = Rails.logger

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
odania_omniauth_authentication-0.0.2 test/dummy/config/initializers/omniauth.rb
odania_omniauth_authentication-0.0.1 test/dummy/config/initializers/omniauth.rb