summaryrefslogtreecommitdiffstats
path: root/templates/admin
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-01-26 23:48:33 +0000
committerGitHub <noreply@github.com>2022-01-26 23:48:33 +0000
commit781ad8a79e22344e4b5d79ba29d8dac4b39f1ff4 (patch)
treef3f7593842943a16d8d91b797a6f4b692993ffe9 /templates/admin
parentcada7202aa0e5766eb770f7d5c95e8483386adf1 (diff)
downloadgitea-781ad8a79e22344e4b5d79ba29d8dac4b39f1ff4.tar.gz
gitea-781ad8a79e22344e4b5d79ba29d8dac4b39f1ff4.zip
Fix broken oauth2 authentication source edit page (#18412) (#18419)
Backport #18412 It appears that there was a broken merge of the edit.tmpl page during the merge of #16594 - I am not entirely sure how this happened as the PR was correct. This PR fixes the broken template. Fix #18388 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates/admin')
-rw-r--r--templates/admin/auth/edit.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index a9942354c0..efa440ff33 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -286,6 +286,10 @@
<input id="skip_local_two_fa" name="skip_local_two_fa" type="checkbox" {{if $cfg.SkipLocalTwoFA}}checked{{end}}>
<p class="help">{{.i18n.Tr "admin.auths.skip_local_two_fa_helper"}}</p>
</div>
+ </div>
+ <div class="oauth2_use_custom_url inline field">
+ <div class="ui checkbox">
+ <label><strong>{{.i18n.Tr "admin.auths.oauth2_use_custom_url"}}</strong></label>
<input id="oauth2_use_custom_url" name="oauth2_use_custom_url" type="checkbox" {{if $cfg.CustomURLMapping}}checked{{end}}>
</div>
</div>