Class: Kaui::SessionsController

Inherits:
Devise::SessionsController
  • Object
show all
Includes:
ExceptionHelper
Defined in:
app/controllers/kaui/sessions_controller.rb

Overview

Subclassed to specify the correct layout

Instance Method Summary collapse

Methods included from ExceptionHelper

#standardize_exception

Instance Method Details

#newObject

The sign-in flow eventually calls authenticate! from config/initializers/killbill_authenticatable.rb



14
15
16
17
# File 'app/controllers/kaui/sessions_controller.rb', line 14

def new
  flash.delete(:alert) if flash[:alert] == I18n.t('devise.failure.unauthenticated') && (stored_location_for(:user).nil? || flash[:notice].present?)
  super
end