Software / code / prosody-modules
Comparison
mod_http_oauth2/html/consent.html @ 6339:24559118dd6c
mod_http_oauth2: Fix passing claim/scope trough template
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 15 Jul 2025 21:53:37 +0200 |
| parent | 6336:6e80b2cb5fe6 |
comparison
equal
deleted
inserted
replaced
| 6338:9111c7b24d12 | 6339:24559118dd6c |
|---|---|
| 35 <dd><a href="{client.policy_uri}">View policy</a></dd>} | 35 <dd><a href="{client.policy_uri}">View policy</a></dd>} |
| 36 | 36 |
| 37 <dt>Requested permissions</dt> | 37 <dt>Requested permissions</dt> |
| 38 <dd> | 38 <dd> |
| 39 <dl>{scopes# | 39 <dl>{scopes# |
| 40 <dt><input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item.scope}" checked="" /> | 40 <dt><input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item.claim}" checked="" /> |
| 41 <label class="scope" for="scope_{idx}">{item.title?{item.claim}}</label></dt> | 41 <label class="scope" for="scope_{idx}">{item.title?{item.claim}}</label></dt> |
| 42 {item.description&<dd>{item.description}</dd>}} | 42 {item.description&<dd>{item.description}</dd>}} |
| 43 </ul> | 43 </ul> |
| 44 </dd> | 44 </dd> |
| 45 </dl> | 45 </dl> |