mirror of https://github.com/go-gitea/gitea.git
init with all enabled
This commit is contained in:
parent
1ee7c33e93
commit
e82ee40e9e
|
@ -829,6 +829,9 @@ func CreateRepository(u *User, opts CreateRepoOptions) (_ *Repository, err error
|
|||
LowerName: strings.ToLower(opts.Name),
|
||||
Description: opts.Description,
|
||||
IsPrivate: opts.IsPrivate,
|
||||
EnableWiki: true,
|
||||
EnableIssues: true,
|
||||
EnablePulls: true,
|
||||
}
|
||||
|
||||
sess := x.NewSession()
|
||||
|
|
Loading…
Reference in New Issue