Remove "attempt-login" endpoint (apparently no longer necessary or even existent)
This commit is contained in:
parent
7f545ecc23
commit
5880c1f427
3
push.pl
3
push.pl
|
|
@ -59,9 +59,6 @@ for my $cookie (@{ $login->res->cookies }) {
|
||||||
}
|
}
|
||||||
die 'missing CSRF token' unless defined $csrf;
|
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 = {
|
my $authorizationHeader = {
|
||||||
Authorization => "JWT $token",
|
Authorization => "JWT $token",
|
||||||
'X-CSRFToken' => $csrf,
|
'X-CSRFToken' => $csrf,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue