fix for submit for path routed environments

This commit is contained in:
Jakob Ketterl 2021-04-18 16:30:02 +02:00
parent da698e7a3c
commit 1968e15237

View File

@ -110,7 +110,7 @@ class SettingsFormController(AuthorizationMixin, WebpageController, metaclass=AB
return result, errors return result, errors
def getSuccessfulRedirect(self): def getSuccessfulRedirect(self):
return self.request.path return self.get_document_root() + self.request.path[1:]
def _mergeErrors(self, errors): def _mergeErrors(self, errors):
result = {} result = {}