liquid_feedback_frontend

annotate app/main/admin/_action/unit_update.lua @ 1494:3e9b0f1adec3

Removed token based CSRF protection (WebMCP uses SameSite cookies now)
author bsw
date Mon Dec 09 15:54:57 2019 +0100 (2019-12-09)
parents fede09736f2b
children 2a0d86117d54
rev   line source
bsw@595 1 local unit = Unit:by_id(param.get_id()) or Unit:new()
bsw@595 2
bsw@1209 3 param.update(unit, "parent_id", "name", "description", "external_reference", "active")
bsw@595 4
bsw@595 5 unit:save()

Impressum / About Us