feat: increase default max users to 10 and add update reminder

- Change default MaxUsers from 5 to 10 in config
- Add update reminder section in install.sh output
- Add 'Keeping Updated' section in all README translations
This commit is contained in:
tinkle-community
2025-12-20 13:43:59 +08:00
parent 7baa07738a
commit 710d9e4943
9 changed files with 81 additions and 2 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ type Config struct {
APIServerPort int
JWTSecret string
RegistrationEnabled bool
MaxUsers int // Maximum number of users allowed (0 = unlimited, default = 1)
MaxUsers int // Maximum number of users allowed (0 = unlimited, default = 10)
// Security configuration
// TransportEncryption enables browser-side encryption for API keys
@@ -35,7 +35,7 @@ func Init() {
cfg := &Config{
APIServerPort: 8080,
RegistrationEnabled: true,
MaxUsers: 5, // Default: only 1 user allowed
MaxUsers: 10, // Default: 10 users allowed
ExperienceImprovement: true, // Default: enabled to help improve the product
}