Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
remove log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
lynndylanhurley committed Oct 28, 2014
1 parent 1c6b8ec commit 13b059d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ def set_user_by_token(mapping=nil)
# determine target authentication class
rc = resource_class(mapping)

logger.debug "@-->setting user by token for #{mapping}"

# no default user defined
return unless rc

Expand All @@ -31,8 +29,6 @@ def set_user_by_token(mapping=nil)
@token = request.headers['access-token']
@client_id = request.headers['client']

logger.debug "@-->token #{@token}"

return false unless @token

# client_id isn't required, set to 'default' if absent
Expand Down Expand Up @@ -64,8 +60,6 @@ def update_auth_header
# another processes has updated it during that processing
@is_batch_request = is_batch_request?(@user, @client_id)

logger.debug "@-->is batched request #{@is_batch_request.to_s}"

auth_header = {}

if not DeviseTokenAuth.change_headers_on_each_request
Expand Down
2 changes: 0 additions & 2 deletions app/models/devise_token_auth/concerns/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ def create_new_auth_token(client_id=nil)
updated_at: Time.now
}

logger.debug "@-->created new auth token #{token}"

self.save!

return build_auth_header(token, client_id)
Expand Down

0 comments on commit 13b059d

Please sign in to comment.