1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00

Fix inconsistent required field (#3591)

Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3591
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2024-05-01 19:05:43 +00:00 committed by 0ko
parent 9d1ffeaf8d
commit 4b79a98910
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Settings: OAuth2 applications: Consistently check input on client side

View file

@ -59,7 +59,7 @@
</div>
<div class="field {{if .Err_RedirectURI}}error{{end}}">
<label for="redirect-uris">{{ctx.Locale.Tr "settings.oauth2_redirect_uris"}}</label>
<textarea name="redirect_uris" id="redirect-uris"></textarea>
<textarea name="redirect_uris" id="redirect-uris" required></textarea>
</div>
<div class="field ui checkbox {{if .Err_ConfidentialClient}}error{{end}}">
<label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label>