liquid_feedback_frontend

view env/util/scope_name.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 32cc544d5a5b
children
line source
1 function util.scope_name(scope)
2 local name
3 for i, entry in ipairs(config.oauth2.available_scopes) do
4 if entry.scope == scope then
5 name = entry.name[locale.get("lang")] or entry.scope
6 end
7 end
8 return name
9 end

Impressum / About Us