From: zhouruiyu Date: Tue, 1 Nov 2016 08:27:15 +0000 (+0800) Subject: change the login lua setting's white list. make the login 's dependency ok. X-Git-Tag: release/sun~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=09a4834a53c49fa762164793ecccbc01e8779f18;p=msb%2Fapigateway.git 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 --- 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)