webmcp

view demo-app/app/main/_filter_action/23_write_priv.lua @ 555:16197a40c7a9

Removed -lc from flags for creating shared libraries (should no longer be necessary when using cc instead of ld)
author jbe
date Mon Feb 10 20:47:58 2020 +0100 (2020-02-10)
parents 9fdfb27f8e67
children
line source
1 if
2 not (request.get_module() == "index" and request.get_action() == "login")
3 and not (request.get_module() == "index" and request.get_action() == "logout")
4 then
5 app.session.user:require_privilege("write")
6 end
7 execute.inner()

Impressum / About Us