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:
parent
9d1ffeaf8d
commit
4b79a98910
|
@ -0,0 +1 @@
|
||||||
|
Settings: OAuth2 applications: Consistently check input on client side
|
|
@ -59,7 +59,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="field {{if .Err_RedirectURI}}error{{end}}">
|
<div class="field {{if .Err_RedirectURI}}error{{end}}">
|
||||||
<label for="redirect-uris">{{ctx.Locale.Tr "settings.oauth2_redirect_uris"}}</label>
|
<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>
|
||||||
<div class="field ui checkbox {{if .Err_ConfidentialClient}}error{{end}}">
|
<div class="field ui checkbox {{if .Err_ConfidentialClient}}error{{end}}">
|
||||||
<label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label>
|
<label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label>
|
||||||
|
|
Loading…
Reference in New Issue