annotate app/main/api/embed_initiative.lua @ 1786:5a2003684dfa
Removed unused strings
 | author | 
 bsw | 
 | date | 
 Wed Oct 20 15:06:01 2021 +0200 (2021-10-20) | 
 | parents | 
 50f5b8a97f91  | 
 | children | 
  | 
 
 | rev | 
   line source | 
| 
bsw@1498
 | 
     1 if app.scopes.identification then
 | 
| 
bsw@1498
 | 
     2   app.session.member_id = app.access_token.member_id
 | 
| 
bsw@1498
 | 
     3   app.session:save()
 | 
| 
bsw@1498
 | 
     4   request.redirect{ external = request.get_absolute_baseurl() .. "initiative/show/" .. param.get("id") .. ".html" }
 | 
| 
bsw@1498
 | 
     5 else
 | 
| 
bsw@1498
 | 
     6   slot.put("missing access token or scope")
 | 
| 
bsw@1498
 | 
     7 end
 | 
| 
bsw@1498
 | 
     8 
 |