Remove "attempt-login" endpoint (apparently no longer necessary or even existent)

This commit is contained in:
Tianon Gravi 2023-11-29 13:55:44 -08:00
parent 7f545ecc23
commit 5880c1f427
1 changed files with 0 additions and 3 deletions

View File

@ -59,9 +59,6 @@ for my $cookie (@{ $login->res->cookies }) {
}
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,