Skip to content

Commit

Permalink
Merge pull request #1 from viniciussanchez/patch-1
Browse files Browse the repository at this point in the history
Duplicate line
  • Loading branch information
snakeice authored Jul 16, 2019
2 parents a42ff71 + fc1d27c commit 8537b8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Horse.JWT.pas
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ implementation

function HorseJWT(ASecretJWT: string; AHeader: string = 'authorization'): THorseCallback; overload;
begin
Header := 'authorization';
SecretJWT := ASecretJWT;
Header := AHeader;
Result := Middleware
Expand Down Expand Up @@ -96,4 +95,4 @@ procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: TProc);
end;
end;

end.
end.

0 comments on commit 8537b8c

Please sign in to comment.