Skip to content

Commit

Permalink
fix(token-auth): always send withCredentials in token auth request
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed May 7, 2023
1 parent ca7202d commit a77103a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/docker-registry-ui.riot
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
this.notifySnackbar(`Failed to log in: ${e.message}`, true);
}
});
req.withCredentials = true;
req.open('GET', `${realm}?service=${service}&scope=${scope}`);
req.send();
} else {
Expand Down

0 comments on commit a77103a

Please sign in to comment.