Projet

Général

Profil

« Précédent | Suivant » 

Révision ab27b722

Ajouté par Benjamin Dauvergne il y a presque 4 ans

root: implement automatic tryauth (#12867)

Voir les différences:

auquotidien/modules/root.py
259 259
            self.backoffice = get_publisher().backoffice_directory_class()
260 260

  
261 261
        try:
262
            return Directory._q_traverse(self, path)
262
            output = Directory._q_traverse(self, path)
263
            if path and path[0] == 'saml':
264
                return output
265
            return self.automatic_sso(output)
263 266
        except errors.TraversalError as e:
264 267
            try:
265 268
                f = FormDef.get_by_urlname(path[0])

Formats disponibles : Unified diff