Skip to content
Snippets Groups Projects

BE: Allow customers to extend or reactivate their trial on gitlab.com [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Qingyu Zhao requested to merge 290278-allow-extend-or-reactivate-trial-on-gitlab-com into master
All threads resolved!
3 files
+ 32
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -105,6 +105,8 @@ def build_scim_identity(user)
@@ -105,6 +105,8 @@ def build_scim_identity(user)
def set_pending_approval_state(user)
def set_pending_approval_state(user)
return unless ::Gitlab::CurrentSettings.should_apply_user_signup_cap?
return unless ::Gitlab::CurrentSettings.should_apply_user_signup_cap?
 
return unless user.human?
 
user.state = ::User::BLOCKED_PENDING_APPROVAL_STATE
user.state = ::User::BLOCKED_PENDING_APPROVAL_STATE
end
end
end
end
Loading