mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Prevent 500 when there is an error during new auth source post (#19041)
Fix #19036 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
		@@ -2,8 +2,8 @@
 | 
			
		||||
	<div class="inline required field">
 | 
			
		||||
		<label>{{.i18n.Tr "admin.auths.oauth2_provider"}}</label>
 | 
			
		||||
		<div class="ui selection type dropdown">
 | 
			
		||||
			<input type="hidden" id="oauth2_provider" name="oauth2_provider" value="{{.oauth2_provider.Name}}">
 | 
			
		||||
			<div class="text">{{.oauth2_provider.Name}}</div>
 | 
			
		||||
			<input type="hidden" id="oauth2_provider" name="oauth2_provider" value="{{.oauth2_provider}}">
 | 
			
		||||
			<div class="text">{{.oauth2_provider}}</div>
 | 
			
		||||
			{{svg "octicon-triangle-down" 14 "dropdown icon"}}
 | 
			
		||||
			<div class="menu">
 | 
			
		||||
				{{range .OAuth2Providers}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user