mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 13:11:30 +00:00
Allow to change login
This commit is contained in:
@@ -72,9 +72,7 @@ func postAuth(srv *Server, w http.ResponseWriter, r *http.Request, vars map[stri
|
||||
if err != nil {
|
||||
return err
|
||||
} else {
|
||||
// TODO: uncomment this
|
||||
// srv.runtime.graph.getHttpClient().Jar = cookiejar.NewCookieJar()
|
||||
srv.runtime.authConfig = newAuthConfig
|
||||
srv.registry.ResetClient(newAuthConfig)
|
||||
}
|
||||
if status != "" {
|
||||
b, err := json.Marshal(&ApiAuth{Status: status})
|
||||
|
||||
Reference in New Issue
Block a user