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