Skip to content

Commit

Permalink
fixed thirdparty auth priority (#2180)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanbisen authored Jun 2, 2023
1 parent 7f4b413 commit 4bca447
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions common/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@
<a href="#" data-toggle="modal" data-target="#sign-up">注册用户</a>
</div>
{% endif %}
{% if oidc_enabled %}
<div class="form-group">
<a href="/oidc/authenticate/">以OIDC登录</a>
</div>
{% endif %}
{% if dingding_enabled %}
<div class="form-group">
<a href="/dingding/authenticate/">以钉钉登录</a>
</div>
{% elif oidc_enabled %}
<div class="form-group">
<a href="/oidc/authenticate/">以OIDC登录</a>
</div>
{% endif %}
</form>
</div>
Expand Down

0 comments on commit 4bca447

Please sign in to comment.