root: implement automatic tryauth (#12867)
This commit is contained in:
parent
e50c4c08c1
commit
e386fd0b40
|
@ -819,7 +819,8 @@ class AlternateRootDirectory(OldRootDirectory):
|
|||
self.backoffice = get_publisher().backoffice_directory_class()
|
||||
|
||||
try:
|
||||
return Directory._q_traverse(self, path)
|
||||
output = Directory._q_traverse(self, path)
|
||||
return self.automatic_sso(output)
|
||||
except errors.TraversalError, e:
|
||||
try:
|
||||
f = FormDef.get_by_urlname(path[0])
|
||||
|
|
Reference in New Issue