Sha256: 35116320ce2fc8d77a354ce6b792b2fc4becd20cd9c4e3d3b6383ee03abfe8e5
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
class ShopappLoginController < ApplicationController include ShopliftClient def welcome unless Rails.configuration.settings['use_welcome_screen'].present? redirect_to root_path return end if authenticate_user redirect_to root_path else if params['logged_in'] == 'false' render 'shopapp/login_message', layout: nil elsif params['logged_in'] == 'true' authenticate_user! true else redirect_to "#{Rails.configuration.settings['authlift_url']}softly_verify_login" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shopapp-0.2.66 | app/controllers/shopapp_login_controller.rb |
shopapp-0.2.65 | app/controllers/shopapp_login_controller.rb |