|
|
@ -41,9 +41,11 @@
|
|
|
|
<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" required>{{StringUtils.Join .App.RedirectURIs "\n"}}</textarea>
|
|
|
|
<textarea name="redirect_uris" id="redirect-uris" required>{{StringUtils.Join .App.RedirectURIs "\n"}}</textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field ui checkbox {{if .Err_ConfidentialClient}}error{{end}}">
|
|
|
|
<div class="field {{if .Err_ConfidentialClient}}error{{end}}">
|
|
|
|
<label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label>
|
|
|
|
<div class="ui checkbox">
|
|
|
|
<input type="checkbox" name="confidential_client" {{if .App.ConfidentialClient}}checked{{end}}>
|
|
|
|
<label>{{ctx.Locale.Tr "settings.oauth2_confidential_client"}}</label>
|
|
|
|
|
|
|
|
<input type="checkbox" name="confidential_client" {{if .App.ConfidentialClient}}checked{{end}}>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button class="ui primary button">
|
|
|
|
<button class="ui primary button">
|
|
|
|
{{ctx.Locale.Tr "settings.save_application"}}
|
|
|
|
{{ctx.Locale.Tr "settings.save_application"}}
|
|
|
|