Update checker setting updates
- revert c53f802778
- enable by default on install page
- save checkbox state between form submissions
Resolves https://codeberg.org/forgejo/forgejo/issues/2859
This commit is contained in:
parent
ebf8eb5b85
commit
e498069fd5
3 changed files with 3 additions and 2 deletions
|
@ -159,6 +159,7 @@ func Install(ctx *context.Context) {
|
|||
form.DefaultAllowCreateOrganization = setting.Service.DefaultAllowCreateOrganization
|
||||
form.DefaultEnableTimetracking = setting.Service.DefaultEnableTimetracking
|
||||
form.NoReplyAddress = setting.Service.NoReplyAddress
|
||||
form.EnableUpdateChecker = true
|
||||
form.PasswordAlgorithm = hash.ConfigHashAlgorithm(setting.PasswordHashAlgo)
|
||||
|
||||
middleware.AssignForm(form, ctx.Data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue