From 2debedcfba28604653d25ebe3b58b9d5a8006d52 Mon Sep 17 00:00:00 2001 From: Alexey Safronov Date: Fri, 12 Jul 2024 18:49:20 +0400 Subject: [PATCH] Fix Bug 69116 - Payments: Logout occurs from the portal after paying for the tariff --- config/nginx/onlyoffice.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nginx/onlyoffice.conf b/config/nginx/onlyoffice.conf index 8fb084ec1d..dec6ef1f41 100644 --- a/config/nginx/onlyoffice.conf +++ b/config/nginx/onlyoffice.conf @@ -104,7 +104,7 @@ server { local accept_header = ngx.req.get_headers()["Accept"] if ngx.req.get_method() == "GET" and accept_header ~= nil and string.find(accept_header, "html") and not ngx.re.match(ngx.var.request_uri, "ds-vpath|/api/") then - if not ngx.re.match(ngx.var.request_uri, "login|sdk|filehandler|thirdparty|confirm|error|wizard|preparation-portal|unavailable|share=.|rooms/share(.*)key=.|/s/*|token=.") then + if not ngx.re.match(ngx.var.request_uri, "login|sdk|filehandler|thirdparty|confirm|error|wizard|preparation-portal|unavailable|share=.|rooms/share(.*)key=.|/s/*|token=.|complete=.") then if ngx.var.http_cookie == nil or not string.find(ngx.var.http_cookie, "asc_auth_key") then if ngx.var.request_uri == "/" then return ngx.redirect("/login")