mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
This commit is contained in:
		@@ -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}}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user