mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Golint fixed for modules/setting (#262)
* golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
This commit is contained in:
		@@ -42,7 +42,7 @@ func Home(ctx *context.Context) {
 | 
			
		||||
	// Check auto-login.
 | 
			
		||||
	uname := ctx.GetCookie(setting.CookieUserName)
 | 
			
		||||
	if len(uname) != 0 {
 | 
			
		||||
		ctx.Redirect(setting.AppSubUrl + "/user/login")
 | 
			
		||||
		ctx.Redirect(setting.AppSubURL + "/user/login")
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user