mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Bug fix
This commit is contained in:
		| @@ -20,6 +20,9 @@ func SignedInId(session sessions.Session) int64 { | ||||
| 		return 0 | ||||
| 	} | ||||
| 	if s, ok := userId.(int64); ok { | ||||
| 		if _, err := models.GetUserById(s); err != nil { | ||||
| 			return 0 | ||||
| 		} | ||||
| 		return s | ||||
| 	} | ||||
| 	return 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user