From 09a4834a53c49fa762164793ecccbc01e8779f18 Mon Sep 17 00:00:00 2001 From: zhouruiyu Date: Tue, 1 Nov 2016 16:27:15 +0800 Subject: change the login lua setting's white list. make the login 's dependency ok. https://jira.open-o.org/browse/OCS-129 Change-Id: I6fbb2fa69dfc9d19e95456b1ddd1a2297e6e932a Signed-off-by: zhouruiyu --- .../assembly/resources/openresty/nginx/luaext/plugins/auth.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/auth.lua b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/auth.lua index 8e0624b..1572060 100644 --- a/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/auth.lua +++ b/msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/auth.lua @@ -25,7 +25,13 @@ local redirect_url = "/openoui/common/login.html" local white_list= { auth_token_url, redirect_url, - '/portal-package/common/' + '/openoui/common/css', + '/openoui/common/js', + '/openoui/common/thirdparty', + '/openoui/common/i18n', + '/openoui/common/image', + '/openoui/common/login.html', + '/openoui/common/json' }; local function verify_value(value) -- cgit 1.2.3-korg