1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-22 17:18:33 +00:00

[GITEA] notifies admins on new user registration (squash) cosmetic changes

Co-authored-by: delvh <dev.lh@web.de>
(cherry picked from commit 9f1670e040)
(cherry picked from commit de5bb2a224)
This commit is contained in:
Earl Warren 2023-09-20 06:18:10 +02:00
parent 3367dcb2cf
commit 8f8e52f31a
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
9 changed files with 18 additions and 18 deletions

View file

@ -5,9 +5,9 @@ package setting
// Admin settings
var Admin struct {
DisableRegularOrgCreation bool
DefaultEmailNotification string
NotifyNewSignUps bool
DisableRegularOrgCreation bool
DefaultEmailNotification string
SendNotificationEmailOnNewUser bool
}
func loadAdminFrom(rootCfg ConfigProvider) {