Sha256: bc82868ea261de35d31da969c20a79a7413cf44dbbee696b5364755e2bcd9634

Contents?: true

Size: 486 Bytes

Versions: 15

Compression:

Stored size: 486 Bytes

Contents

class Auth::SessionsController < Devise::SessionsController
 	
  include Auth::Concerns::DeviseConcern  


  def create
    self.resource = warden.authenticate!(auth_options)
    ## added these two lines
    resource.m_client = self.m_client
 	resource.set_client_authentication
 	## end.
    set_flash_message!(:notice, :signed_in)
    sign_in(resource_name, resource)
    yield resource if block_given?
    respond_with resource, location: after_sign_in_path_for(resource)
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.9 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.8 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.7 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.6 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.5 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.4 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.3 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.2 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.1 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.5.0 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.4.9 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.4.8 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.4.7 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.4.6 app/controllers/auth/sessions_controller.rb