tomtryf / ipsilon

Forked from ipsilon 7 years ago
Clone

ac7c20c Only initialize the OpenID IDP when actually enabled

Authored and Committed by puiterwijk 8 years ago
    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>
    
        
file modified
+0 -1