correcting indentation
This commit is contained in:
@@ -150,14 +150,14 @@ class Saml2Auth(object):
|
|||||||
self.config_file = config_file
|
self.config_file = config_file
|
||||||
self.maps = maps
|
self.maps = maps
|
||||||
|
|
||||||
# URL for redirecting users to when they sign out
|
# URL for redirecting users to when they sign out
|
||||||
self.saml_logout_url = logout_url
|
self.saml_logout_url = logout_url
|
||||||
|
|
||||||
# URL to let users change their password in the IDP system
|
# URL to let users change their password in the IDP system
|
||||||
self.saml_change_password_url = change_password_url
|
self.saml_change_password_url = change_password_url
|
||||||
|
|
||||||
# URL to specify an IDP if using federation metadata or an MDQ
|
# URL to specify an IDP if using federation metadata or an MDQ
|
||||||
self.entityid = entityid
|
self.entityid = entityid
|
||||||
|
|
||||||
def login_url(self, next="/"):
|
def login_url(self, next="/"):
|
||||||
d = saml2_handler(current.session, current.request, entityid=self.entityid)
|
d = saml2_handler(current.session, current.request, entityid=self.entityid)
|
||||||
|
|||||||
Reference in New Issue
Block a user