Skip to content

Commit

Permalink
Release 5.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartinou committed Mar 11, 2022
1 parent 10d4e0b commit 8517380
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion app/nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"WUD_WATCHER_LOCAL_WATCHBYDEFAULT": false,
"WUD_REGISTRY_CUSTOM_URL": "http://localhost:5000",
"WUD_REGISTRY_CUSTOM_LOGIN": "john",
"WUD_REGISTRY_CUSTOM_PASSWORD": "doe"
"WUD_REGISTRY_CUSTOM_PASSWORD": "doe",
"WUD_AUTH_BASIC_JOHN_USER": "john",
"WUD_AUTH_BASIC_JOHN_HASH": "$apr1$ox8b3gue$R9BVC6cliTOGZOiol3EWr/"
}
}
3 changes: 3 additions & 0 deletions docs/changelog/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

# 5.16.1
- :fire: Fix regression on basic Auth authentication (present in `5.16.0`)

# 5.16.0
- :star: Add support for [custom registries](configuration/registries/custom/)
- :star: Enable by default all registries with possible anonymous access (hub, ghcr, lscr, quay)
Expand Down
4 changes: 1 addition & 3 deletions ui/src/services/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ async function getUser() {
* @returns {Promise<*>}
*/
async function loginBasic(username, password) {
const base64 = Buffer.from(`${username}:${password}`, "utf-8").toString(
"base64"
);
const base64 = btoa(`${username}:${password}`);
const response = await fetch(`/auth/login`, {
method: "POST",
headers: {
Expand Down

0 comments on commit 8517380

Please sign in to comment.