consul/consul

View on GitHub
app/components/account/verify_account_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Account::VerifyAccountComponent < ApplicationComponent
  attr_reader :account

  def initialize(account)
    @account = account
  end

  def render?
    Setting["feature.user.skip_verification"].blank? && !account.organization?
  end
end