Only initialize the Persona IDP when actually enabled
authorPatrick Uiterwijk <puiterwijk@redhat.com>
Fri, 17 Jul 2015 14:03:15 +0000 (16:03 +0200)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 18 Aug 2015 07:41:03 +0000 (09:41 +0200)
commit7b470b0e494a7ff5a088c3ead2e60754b67282f1
tree86dd0984a8ff2a67ff706ed94a67325fa65655c7
parenta69505f662aadfd38c31ebadab18e1beccc1b95c
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 <puiterwijk@redhat.com>
Reviewed-by: Rob Crittenden <rcritten@redhat.com>
ipsilon/providers/personaidp.py