From 0b07085d723da5dbc6841a5a90f542a2bc630a54 Mon Sep 17 00:00:00 2001
From: Bianca Nenciu <nbianca@users.noreply.github.com>
Date: Wed, 20 Jan 2021 20:47:43 +0200
Subject: [PATCH] FIX: Allow max_redemptions_limit to be 1 (#11771)

---
 .../discourse/app/templates/components/invite-link-panel.hbs    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/assets/javascripts/discourse/app/templates/components/invite-link-panel.hbs b/app/assets/javascripts/discourse/app/templates/components/invite-link-panel.hbs
index 17f2e30bfbb..75bbb20e4a0 100644
--- a/app/assets/javascripts/discourse/app/templates/components/invite-link-panel.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/invite-link-panel.hbs
@@ -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">