Module: Qcore::Authentication

Defined in:
lib/qcore/authentication.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Instance Method Summary collapse

Instance Method Details

#qcore_authenticationObject



4
5
6
7
8
9
10
11
12
13
# File 'lib/qcore/authentication.rb', line 4

def qcore_authentication
  send :include, InstanceMethods
  send :extend, ClassMethods
  
  protect_from_forgery # See ActionController::RequestForgeryProtection for details

  helper_method :current_user_session, :current_user
  filter_parameter_logging :password, :password_confirmation
  
end