Projet

Général

Profil

« Précédent | Suivant » 

Révision ebf37dd5

Ajouté par dlaniel il y a plus de 17 ans

  • ID ebf37dd5e5f9c523b1a6fc865e5276a627700b5c

slo + defederate from idp

git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@16 3ed937ae-f919-0410-9a43-8e6f19e4ba6e

Voir les différences:

larpe/trunk/larpe/liberty_site.ptl
17 17

  
18 18
class LibertySite(Directory):
19 19

  
20
    _q_exports = ["", "login", "logout", "defederate", "liberty"]
20
    _q_exports = ["", "login", "logout", "liberty"]
21 21
    
22 22
    liberty = liberty.Liberty()
23 23

  
......
31 31
        logger.info('login')
32 32
        idps = misc.cfg.get('idp', {})
33 33

  
34
        if len(idps) == 0:
35
            return template.error_page(_('SSO support is not yet configured'))
34
#        if len(idps) == 0:
35
        return template.error_page(_('SSO support is not yet configured'))
36 36

  
37 37
        if len(idps) == 1 or len([x for x in idps.values() if not x.get('hide', False)]) == 1:
38 38
            # if there is only one visible IdP, perform login automatically on

Formats disponibles : Unified diff