Skip to content

Commit a77103a

Browse files
committed
fix(token-auth): always send withCredentials in token auth request
1 parent ca7202d commit a77103a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/docker-registry-ui.riot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
192192
this.notifySnackbar(`Failed to log in: ${e.message}`, true);
193193
}
194194
});
195+
req.withCredentials = true;
195196
req.open('GET', `${realm}?service=${service}&scope=${scope}`);
196197
req.send();
197198
} else {

0 commit comments

Comments
 (0)