mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	Add a option "--user-type bot" to admin user create, improve role display (#27885)
Partially solve #13044 Fix #33295 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -56,7 +56,7 @@ func NewActionsUser() *User { | ||||
| 		Email:                   ActionsUserEmail, | ||||
| 		KeepEmailPrivate:        true, | ||||
| 		LoginName:               ActionsUserName, | ||||
| 		Type:                    UserTypeIndividual, | ||||
| 		Type:                    UserTypeBot, | ||||
| 		AllowCreateOrganization: true, | ||||
| 		Visibility:              structs.VisibleTypePublic, | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user