mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Refactor User.Id to User.ID
This commit is contained in:
		
					parent
					
						
							
								46e96c008c
							
						
					
				
			
			
				commit
				
					
						1f2e173a74
					
				
			
		
					 79 changed files with 333 additions and 328 deletions
				
			
		|  | @ -120,7 +120,7 @@ func NewUserPost(ctx *context.Context, form auth.AdminCrateUserForm) { | |||
| 	} | ||||
| 
 | ||||
| 	ctx.Flash.Success(ctx.Tr("admin.users.new_success", u.Name)) | ||||
| 	ctx.Redirect(setting.AppSubUrl + "/admin/users/" + com.ToStr(u.Id)) | ||||
| 	ctx.Redirect(setting.AppSubUrl + "/admin/users/" + com.ToStr(u.ID)) | ||||
| } | ||||
| 
 | ||||
| func prepareUserInfo(ctx *context.Context) *models.User { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue