mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	fix #2268
This commit is contained in:
		@@ -60,6 +60,8 @@ func SettingsPost(ctx *middleware.Context, form auth.UpdateOrgSettingForm) {
 | 
			
		||||
			}
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
		// reset ctx.org.OrgLink with new name
 | 
			
		||||
		ctx.Org.OrgLink = setting.AppSubUrl + "/org/" + form.Name
 | 
			
		||||
		log.Trace("Organization name changed: %s -> %s", org.Name, form.Name)
 | 
			
		||||
	}
 | 
			
		||||
	// In case it's just a case change.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user