Browse Source

Fix typo (#4151)

Fix incorrect tmpl in oauth when we have a custom authorize url. The tmpl will append an additional character "v" every time we save the settings.
tags/v1.5.0-dev
Barbossa Lunny Xiao 7 years ago
parent
commit
454261de2b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/admin/auth/edit.tmpl

+ 1
- 1
templates/admin/auth/edit.tmpl View File

@@ -191,7 +191,7 @@
</div>
<div class="oauth2_use_custom_url_field oauth2_auth_url required field">
<label for="oauth2_auth_url">{{.i18n.Tr "admin.auths.oauth2_authURL"}}</label>
<input id="oauth2_auth_url" name="oauth2_auth_url" value="{{if $cfg.CustomURLMapping}}{{$cfg.CustomURLMapping.AuthURL}}v{{end}}">
<input id="oauth2_auth_url" name="oauth2_auth_url" value="{{if $cfg.CustomURLMapping}}{{$cfg.CustomURLMapping.AuthURL}}{{end}}">
</div>
<div class="oauth2_use_custom_url_field oauth2_token_url required field">
<label for="oauth2_token_url">{{.i18n.Tr "admin.auths.oauth2_tokenURL"}}</label>


Loading…
Cancel
Save