mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 19:29:13 -05:00
get the correct base64 from docker config (missing array subkey)
This commit is contained in:
@@ -785,7 +785,7 @@ class DockerClient {
|
||||
if ( empty( $dockerConfig['auths'] ) || empty( $dockerConfig['auths'][ $matches[1] ] ) ) {
|
||||
return false;
|
||||
}
|
||||
list($user, $password) = explode(':', base64_decode($dockerConfig['auths'][ $matches[1] ]));
|
||||
list($user, $password) = explode(':', base64_decode($dockerConfig['auths'][ $matches[1] ]['auth']));
|
||||
|
||||
return [
|
||||
'username' => $user,
|
||||
|
||||
Reference in New Issue
Block a user