Skip to content

Commit

Permalink
Remove "attempt-login" endpoint (apparently no longer necessary or ev…
Browse files Browse the repository at this point in the history
…en existent)
  • Loading branch information
tianon committed Nov 29, 2023
1 parent 7f545ec commit 5880c1f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions push.pl
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
}
die 'missing CSRF token' unless defined $csrf;

my $attemptLogin = $ua->post($dockerHub . '/attempt-login/' => {} => json => { jwt => $token });
die 'attempt-login failed' unless $attemptLogin->res->is_success;

my $authorizationHeader = {
Authorization => "JWT $token",
'X-CSRFToken' => $csrf,
Expand Down

0 comments on commit 5880c1f

Please sign in to comment.