From 7b470b0e494a7ff5a088c3ead2e60754b67282f1 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 17 Jul 2015 16:03:15 +0200 Subject: [PATCH] Only initialize the Persona IDP when actually enabled This has the same reasoning as the OpenID patch (commit ac7c20cca81c3d23ee66f224030b316bdff2274a), with additionally that it will otherwise error on loading the signing key. (This is not critical though as it will retry loading and succeed, this is just to make it not spit that error). Signed-off-by: Patrick Uiterwijk Reviewed-by: Rob Crittenden --- ipsilon/providers/personaidp.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ipsilon/providers/personaidp.py b/ipsilon/providers/personaidp.py index f0146db..2a28ba9 100644 --- a/ipsilon/providers/personaidp.py +++ b/ipsilon/providers/personaidp.py @@ -54,7 +54,6 @@ Provides Persona authentication infrastructure. """ return self.get_config_value('allowed domains') def get_tree(self, site): - self.init_idp() self.page = Persona(site, self) # self.admin = AdminPage(site, self) -- 2.20.1