• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sleede / fab-manager / #106

pending completion
#106

push

coveralls-ruby

sylvainbx
Merge branch 'dev' for release 6.0.0

704 of 704 new or added lines in 168 files covered. (100.0%)

7919 of 13474 relevant lines covered (58.77%)

15.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/controllers/sessions_controller.rb
1
# frozen_string_literal: true
2

3
# Devise controller for handling client sessions
4
class SessionsController < Devise::SessionsController
×
5
  def new
×
6
    active_provider = Rails.configuration.auth_provider
×
7
    if active_provider.providable_type == 'DatabaseProvider'
×
8
      super
×
9
    else
×
10
      redirect_post "/users/auth/#{active_provider.strategy_name}"
×
11
    end
×
12
  end
×
13

14
  # FIXME, Method DELETE is not allowed by Access-Control-Allow-Methods in preflight response.
15
  # def destroy
16
  #   active_provider = Rails.configuration.auth_provider
17
  #   if active_provider.providable_type == 'OpenIdConnectProvider'
18
  #     redirect_to "/users/auth/#{active_provider.strategy_name}/logout"
19
  #   else
20
  #     super
21
  #   end
22
  # end
23
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc