Fix inconsistent required field (#3583)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3583
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
0ko 2024-05-01 18:29:42 +00:00
parent 4a2959b3ec
commit d096a21da6
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 {{if .Err_ConfidentialClient}}error{{end}}">
<div class="ui checkbox">