Redirect to portal instead of 403

This commit is contained in:
Alexis Gavoty 2013-11-23 13:15:13 +01:00
parent 89be69b1e6
commit e55c63f28d

View file

@ -652,8 +652,7 @@ end
if is_logged_in() then
if not has_access() then
ngx.status = 403
ngx.exit(403)
return redirect(portal_url)
end
set_headers()
return pass()