From 18f25ea5aecb90652b48f47197ac5eaa151fd150 Mon Sep 17 00:00:00 2001
From: Alexander Schlemmer <alexander.schlemmer@ds.mpg.de>
Date: Thu, 11 Oct 2018 13:57:35 +0200
Subject: [PATCH] BUG: 1 Login Error when using password_method=pass

Fix based on solution by fspreck.
---
 src/caosdb/connection/authentication/pass.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/caosdb/connection/authentication/pass.py b/src/caosdb/connection/authentication/pass.py
index 5aa9a81a..ed8c1991 100644
--- a/src/caosdb/connection/authentication/pass.py
+++ b/src/caosdb/connection/authentication/pass.py
@@ -90,4 +90,5 @@ class PassCaller(PlainTextCredentialsProvider):
         """
         if "password_identifier" in config:
             password = _call_pass(config["password_identifier"])
-        super(PassCaller, self).configure(password=password, **config)
+            config["password"] = password
+        super(PassCaller, self).configure(**config)
-- 
GitLab