From 0ca2a73fd26534fda8ffdfbb52ba81cee9324edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KMY=EF=BC=88=E9=9B=AA=E3=81=82=E3=81=99=E3=81=8B=EF=BC=89?= Date: Fri, 16 Feb 2024 11:44:11 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E6=96=B0=E8=A6=8F=E7=99=BB=E9=8C=B2?= =?UTF-8?q?=E5=88=B6=E9=99=90=E3=82=92=E3=81=8B=E3=81=91=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=82=8B=E5=A0=B4=E5=90=88=E3=80=81=E6=8B=9B=E5=BE=85=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=82=82=E7=99=BB=E9=8C=B2=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=20(#558)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/auth/confirmations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/auth/confirmations_controller.rb b/app/controllers/auth/confirmations_controller.rb index fdbde5d730..a99dceeb25 100644 --- a/app/controllers/auth/confirmations_controller.rb +++ b/app/controllers/auth/confirmations_controller.rb @@ -17,7 +17,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController skip_before_action :require_functional! def show - if reach_registrations_limit? + if reach_registrations_limit? && !current_user&.valid_invitation? render :limitation_error return end