From 3df29bb82eb3e62cc56556c0f95769c109ab7387 Mon Sep 17 00:00:00 2001 From: Ray Luo Date: Fri, 12 Oct 2018 17:27:45 -0700 Subject: [PATCH] Fix a hidden bug It was a missing piece of a previous change. We will discuss more in PR. --- adal/mex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adal/mex.py b/adal/mex.py index a2e3e75a..3ffa14e1 100644 --- a/adal/mex.py +++ b/adal/mex.py @@ -144,7 +144,7 @@ def _select_username_password_polices(self, xpath): policy_id = self._check_policy(policy_node) if policy_id: id_ref = '#' + policy_id - policies[id_ref] = {id:id_ref} + policies[id_ref] = {policy_id:id_ref} return policies if policies else None