engines/adva_user/lib/action_controller/authenticate_user.rb
# There are a few ways that a user can login without going through
# a login screen. These methods all rely on authenticating with
# the information given in the request. If any of these methods
# are successful then session[:uid] will be set with the current
# user id and current_user will return the current user
There are a few ways that a user can login without going through
a login screen. These methods all rely on authenticating with
the information given in the request. If any of these methods
are successful then session[:uid] will be set with the current
user id and current_user will return the current user
There are a few ways that a user can login without going through a login screen . These methods all rely on authenticating with the information given in the request . If any of these methods are successful then session [ : uid ] will be set with the current user id and current_user will return the current user
def try_login
          if user = http_auth_login || validation_login || remember_me_login
            session[:uid] = user.id
          end
        end
def try_login if user = http_auth_login || validation_login || remember_me_login session [ :uid ] = user . id end end
There are a few ways that a user can login without going through
a login screen.
There are a few ways that a user can login without going through a login screen .