FIX: Allow max_redemptions_limit to be 1 (#11771)

This commit is contained in:
Bianca Nenciu 2021-01-20 20:47:43 +02:00 committed by GitHub
parent 48f06e56f2
commit 0b07085d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<label class="instructions">
{{i18n "user.invited.invite_link.max_redemptions_allowed_label"}}
</label>
{{input type="number" value=maxRedemptionAllowed class="max-redemptions-allowed-input" min="2" max=siteSettings.invite_link_max_redemptions_limit}}
{{input type="number" value=maxRedemptionAllowed class="max-redemptions-allowed-input" min="1" max=siteSettings.invite_link_max_redemptions_limit}}
</div>
<div class="invite-link-expires-at">