lib/osso/routes/oauth.rb in osso-0.0.5.pre.lambda vs lib/osso/routes/oauth.rb in osso-0.0.5.pre.theta

- old
+ new

@@ -22,10 +22,10 @@ validate_oauth_request(env) redirect "/auth/saml/#{enterprise.provider.id}" if enterprise.single_provider? @providers = enterprise.identity_providers.not_pending - return erb :multiple_providers if @providers.count > 1 + erb :multiple_providers if @providers.count > 1 raise Osso::Error::MissingConfiguredIdentityProvider.new(domain: params[:domain]) rescue Osso::Error::Base => e @error = e erb :error