diff options
author | zeripath <art27@cantab.net> | 2019-10-23 22:04:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 22:04:22 +0100 |
commit | c84174b7640c17c85c8e3bb86c02cd39b09822e1 (patch) | |
tree | c3b21092e54b46ff05bd09c581f73daccdd3aa61 /templates/user/auth | |
parent | 22272fe1e44fb6f1084f34694f6834d97167b3e1 (diff) | |
download | gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.tar.gz gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.zip |
Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
Diffstat (limited to 'templates/user/auth')
-rw-r--r-- | templates/user/auth/grant.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/auth/grant.tmpl b/templates/user/auth/grant.tmpl index 85c507a74a..b67bfa110c 100644 --- a/templates/user/auth/grant.tmpl +++ b/templates/user/auth/grant.tmpl @@ -13,10 +13,10 @@ </p> </div> <div class="ui attached segment"> - <p>{{.i18n.Tr "auth.authroize_redirect_notice" .ApplicationRedirectDomainHTML | Str2html}}</p> + <p>{{.i18n.Tr "auth.authorize_redirect_notice" .ApplicationRedirectDomainHTML | Str2html}}</p> </div> <div class="ui attached segment"> - <form method="post" action="{{.AppSubUrl}}/login/oauth/grant"> + <form method="post" action="{{AppSubUrl}}/login/oauth/grant"> {{.CsrfTokenHtml}} <input type="hidden" name="client_id" value="{{.Application.ClientID}}"> <input type="hidden" name="state" value="{{.State}}"> |