mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
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:
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user