liquid_feedback_frontend

view app/main/api/embed_initiative.lua @ 1498:50f5b8a97f91

Added support for embedding initiatives
author bsw
date Tue Mar 24 16:48:20 2020 +0100 (2020-03-24)
parents
children
line source
1 if app.scopes.identification then
2 app.session.member_id = app.access_token.member_id
3 app.session:save()
4 request.redirect{ external = request.get_absolute_baseurl() .. "initiative/show/" .. param.get("id") .. ".html" }
5 else
6 slot.put("missing access token or scope")
7 end

Impressum / About Us