This commit is contained in:
Tomas Dvorak
2025-10-28 22:38:27 +01:00
parent 3d621e2187
commit 823fabee02
106 changed files with 9011 additions and 3930 deletions
+3
View File
@@ -129,6 +129,9 @@ func (ac *AuthController) Register(c *gin.Context) {
return
}
// Auto-subscribe newly registered fans to the newsletter
_ = models.SubscribeToNewsletter(ac.DB, user.Email)
// For first user, ensure setup info exists
if isFirstUser {
_, err := ac.setupService.GetSetupStatus()