aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhouruiyu <zhouruiyu@huawei.com>2016-11-01 16:27:15 +0800
committerzhouruiyu <zhouruiyu@huawei.com>2016-11-01 16:27:15 +0800
commit09a4834a53c49fa762164793ecccbc01e8779f18 (patch)
treea3025d8209d0d4d804cb152286eb8c01f632a231
parent82d735771cb9678cd8d5240fb9f434ae28eb1ac0 (diff)
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 <zhouruiyu@huawei.com>
-rw-r--r--msb-core/openresty-ext/src/assembly/resources/openresty/nginx/luaext/plugins/auth.lua8
1 files changed, 7 insertions, 1 deletions
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)