mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Normalize files with gofmt
This commit is contained in:
		@@ -130,8 +130,8 @@ func SignInPost(ctx *context.Context, form auth.SignInForm) {
 | 
			
		||||
	// Register last login
 | 
			
		||||
	u.SetLastLogin()
 | 
			
		||||
	if err := models.UpdateUser(u); err != nil {
 | 
			
		||||
	    ctx.Handle(500, "UpdateUser", err)
 | 
			
		||||
	    return
 | 
			
		||||
		ctx.Handle(500, "UpdateUser", err)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if redirectTo, _ := url.QueryUnescape(ctx.GetCookie("redirect_to")); len(redirectTo) > 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user