Skip to content

Commit

Permalink
Remove part of ueberauth#34 since the original issue has been fixed i…
Browse files Browse the repository at this point in the history
…n guardian
  • Loading branch information
fpalluel committed Jan 13, 2017
1 parent 89808ea commit e5c946e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/guardian_db.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ defmodule GuardianDb do
@doc """
After the JWT is generated, stores the various fields of it in the DB for tracking
"""
def after_encode_and_sign(_resource, _type, claims, jwt) do
def after_encode_and_sign(resource, type, claims, jwt) do
case Token.create!(claims, jwt) do
{:error, _} -> {:error, :token_storage_failure}
_ -> :ok
{ :error, _ } -> { :error, :token_storage_failure }
_ -> { :ok, { resource, type, claims, jwt } }
end
end

Expand Down

0 comments on commit e5c946e

Please sign in to comment.