Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Clearer signup limit label

Chocobozzz6ce6ff06f139
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
index 5640f6a53f..15bd1c2e0b 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html
@@ -186,6 +186,7 @@
<div [ngClass]="getDisabledSignupClass()">
<label i18n for="signupLimit">Signup limit</label>
+ <span i18n class="small muted ms-1">When the total number of users in your instance reaches this limit, registrations are disabled. -1 == unlimited</span>
<div class="number-with-unit">
<input
@@ -204,11 +205,11 @@
<label i18n for="signupMinimumAge">Minimum required age to create an account</label>
<div class="number-with-unit">
- <input
- type="number" min="1" id="signupMinimumAge" class="form-control"
- formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
- >
- <span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
+ <input
+ type="number" min="1" id="signupMinimumAge" class="form-control"
+ formControlName="minimumAge" [ngClass]="{ 'input-error': formErrors['signup.minimumAge'] }"
+ >
+ <span i18n>{form.value['signup']['minimumAge'], plural, =1 {year old} other {years old}}</span>
</div>
<div *ngIf="formErrors.signup.minimumAge" class="form-error" role="alert">{{ formErrors.signup.minimumAge }}</div>
diff --git a/config/default.yaml b/config/default.yaml
index c1a8f8bf0b..d01dae53e1 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -541,7 +541,9 @@ contact_form:
signup:
enabled: false
- limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
+ # When the total number of users in your instance reaches this limit, registrations are disabled.
+ # -1 == unlimited
+ limit: 10
minimum_age: 16 # Used to configure the signup form
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 710e6f0a94..4902517933 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -551,7 +551,9 @@ contact_form:
signup:
enabled: false
- limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited
+ # When the total number of users in your instance reaches this limit, registrations are disabled.
+ # -1 == unlimited
+ limit: 10
minimum_age: 16 # Used to configure the signup form