Skip to content

Commit

Permalink
Fix broken oauth2 authentication source edit page (go-gitea#18412)
Browse files Browse the repository at this point in the history
It appears that there was a broken merge of the edit.tmpl page during the merge
of go-gitea#16594 - I am not entirely sure how this happened as the PR was correct.

This PR fixes the broken template.

Fix go-gitea#18388

Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath authored and Stelios Malathouras committed Mar 28, 2022
1 parent 7ac1fb5 commit 19fb039
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/admin/auth/edit.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 19fb039

Please sign in to comment.