summaryrefslogtreecommitdiffstats
path: root/tests/blobs/openid_app.py
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-07-08 12:37:04 +0200
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-07-08 13:27:02 +0200
commitac7c20cca81c3d23ee66f224030b316bdff2274a (patch)
tree3f312b6949226e083ecb74ec6dfde9ee1f6bbfb1 /tests/blobs/openid_app.py
parentdc44adc21b7e8a2aac61b5a641bacc7d706608e1 (diff)
downloadipsilon-ac7c20cca81c3d23ee66f224030b316bdff2274a.tar.gz
ipsilon-ac7c20cca81c3d23ee66f224030b316bdff2274a.tar.xz
ipsilon-ac7c20cca81c3d23ee66f224030b316bdff2274a.zip
Only initialize the OpenID IDP when actually enabled
This is needed because otherwise it will try to set the database schema version before it read the configuration for providers, which means it will do this in the default (openid.sqlite) database file. If you are running as a non-privileged user (as your should) with the working directory pointing somewhere this user is unable to write, this means it will fail to write this. Note: the working directory is not in the default wsgi file, which means that people using that will not likely hit this bug. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'tests/blobs/openid_app.py')
0 files changed, 0 insertions, 0 deletions