mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:41:32 +01:00 
			
		
		
		
	bug fixed
This commit is contained in:
		
							parent
							
								
									dbdaf934e1
								
							
						
					
					
						commit
						683e58878a
					
				
							
								
								
									
										2
									
								
								serve.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								serve.go
									
									
									
									
									
								
							| @ -159,7 +159,7 @@ func runServ(k *cli.Context) { | ||||
| 			qlog.Fatal(err) | ||||
| 		} | ||||
| 		if !has { | ||||
| 			has, err = models.HasAccess(user.Name, repoPath, models.AU_WRITABLE) | ||||
| 			has, err = models.HasAccess(user.Name, path.Join(repoUserName, repoName), models.AU_WRITABLE) | ||||
| 			if err != nil { | ||||
| 				println("Internal error") | ||||
| 				qlog.Fatal(err) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user