From aa56c8bd0e55f4fa70e0352b1fc127bc648c6fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 2 Mar 2016 11:15:54 +0100 Subject: [PATCH] hobo: mark that the idp manages the user attributes (#10141) --- wcs/ctl/check_hobos.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcs/ctl/check_hobos.py b/wcs/ctl/check_hobos.py index 894ba2c..ffecffd 100644 --- a/wcs/ctl/check_hobos.py +++ b/wcs/ctl/check_hobos.py @@ -198,6 +198,9 @@ class CmdCheckHobos(Command): elif not idps and not 'password' in methods: methods.append('password') pub.cfg['identification']['methods'] = methods + if not pub.cfg.get('sp'): + pub.cfg['sp'] = {} + pub.cfg['sp']['idp-manage-user-attributes'] = bool(idps) pub.write_cfg() if not idps: -- 2.7.0