mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
fix(api): manage registry authentication in the API (#1751)
This commit is contained in:
parent
c267f8bf57
commit
30dfd3d616
11 changed files with 183 additions and 42 deletions
|
@ -37,8 +37,6 @@ angular.module('portainer.app')
|
|||
|
||||
service.encodedCredentials = function(registry) {
|
||||
var credentials = {
|
||||
username: registry.Username,
|
||||
password: registry.Password,
|
||||
serveraddress: registry.URL
|
||||
};
|
||||
return btoa(JSON.stringify(credentials));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue