mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 21:03:56 +01:00
[GITEA] correct default license selection
The default license choice was not working as expected, because both the files in options/license were named differently, and the setting string is not parsed properly. The documentation will also be corrected. See conversation on Matrix: https://matrix.to/#/%23forgejo-chat%3Amatrix.org/%24ue13GJPr2d7D8fEaLx8yh1mFn3a4TVy_khkajrAYtx0?via=matrix.tu-berlin.de&via=turbo.ooo&via=matrix.org&via=catgirl.cloud (cherry picked from commit450a34d08d
) (cherry picked from commit2770af7044
) (cherry picked from commit0fadf41985
) (cherry picked from commit9c3aa1dbbd
) (cherry picked from commitf8ecff8422
) (cherry picked from commit1e28937546
) (cherry picked from commite566ffbb8d
) (cherry picked from commitcf89ca48b6
) (cherry picked from commite2897d15b4
)
This commit is contained in:
parent
3799c133b4
commit
8b49f1195d
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ var (
|
||||||
DefaultPrivate: RepoCreatingLastUserVisibility,
|
DefaultPrivate: RepoCreatingLastUserVisibility,
|
||||||
DefaultPushCreatePrivate: true,
|
DefaultPushCreatePrivate: true,
|
||||||
MaxCreationLimit: -1,
|
MaxCreationLimit: -1,
|
||||||
PreferredLicenses: []string{"Apache License 2.0", "MIT License"},
|
PreferredLicenses: []string{"Apache-2.0", "MIT"},
|
||||||
DisableHTTPGit: false,
|
DisableHTTPGit: false,
|
||||||
AccessControlAllowOrigin: "",
|
AccessControlAllowOrigin: "",
|
||||||
UseCompatSSHURI: false,
|
UseCompatSSHURI: false,
|
||||||
|
|
Loading…
Reference in a new issue