diff options
Diffstat (limited to 'custodia_pwmgr/custodia_pwmgr.py')
-rwxr-xr-x | custodia_pwmgr/custodia_pwmgr.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/custodia_pwmgr/custodia_pwmgr.py b/custodia_pwmgr/custodia_pwmgr.py index 02f8f9b..6bc3681 100755 --- a/custodia_pwmgr/custodia_pwmgr.py +++ b/custodia_pwmgr/custodia_pwmgr.py @@ -44,7 +44,7 @@ app = Flask(__name__) app.config.update( CUSTODIA_URL='http+unix://%s/secrets' % quote(CUSTODIA_SOCKET, safe=''), # custodia_timeout=2, - CUSTODIA_CONTAINER='pwmgr', + CUSTODIA_CONTAINER='passwords', SECRET_KEY='neHoch4doichu9el', DEBUG=True, ) @@ -60,8 +60,8 @@ class FlaskCustodia(object): # timeout = app.config.get('custodia_timeout') self._container = app.config['CUSTODIA_CONTAINER'] self._client = CustodiaClient(url) - self._client.headers['REMOTE_USER'] = self._container - self.mkcontainer() + #self._client.headers['REMOTE_USER'] = self._container + #self.mkcontainer() def _genpath(self, key): if set(key) & set('/.'): @@ -123,4 +123,4 @@ def delete_password(): return redirect(url_for('index')) if __name__ == '__main__': - app.run() + app.run(host='0.0.0.0') |