Sha256: b4bbbc44e4ff2008fc5ad362f4f3bbbb69bcb54cfe806ff99c4fb761dc4878c2

Contents?: true

Size: 449 Bytes

Versions: 40

Compression:

Stored size: 449 Bytes

Contents

class Auth::SessionsController < Devise::SessionsController
 	
  

  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

40 entries across 40 versions & 1 rubygems

Version Path
wordjelly-auth-1.4.0 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.9 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.8 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.7 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.6 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.5 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.3 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.2 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.1 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.3.0 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.9 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.8 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.6 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.5 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.4 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.3 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.2 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.1 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.2.0 app/controllers/auth/sessions_controller.rb
wordjelly-auth-1.1.9 app/controllers/auth/sessions_controller.rb