mirror of
https://github.com/we-promise/sure.git
synced 2026-05-07 12:54:04 +00:00
Allow connecting a few accounts before upgrade prompt
This commit is contained in:
@@ -12,6 +12,7 @@ class ApplicationController < ActionController::Base
|
||||
return false unless Current.session
|
||||
return false if Current.family.subscribed?
|
||||
return false if subscription_pending? || request.path == settings_billing_path
|
||||
return false if Current.family.active_accounts_count <= 3
|
||||
|
||||
true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user