hpi-swt2/workshop-portal

View on GitHub
config/initializers/devise.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [84/80]
Open

  # Configure parameters from the request object used for authentication. Each entry
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [82/80]
Open

  # Turn scoped views on. Before rendering "sessions/new", it will first check for
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Inconsistent indentation detected.
Open

   config.scoped_views = true
Severity: Minor
Found in config/initializers/devise.rb by rubocop

This cops checks for inconsistent indentation.

Example:

class A
  def test
    puts 'hello'
     puts 'world'
  end
end

Line is too long. [85/80]
Open

  # modifying a user and when used to authenticate or find a user. Default is :email.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [83/80]
Open

  # given strategies, for example, `config.http_authenticatable = [:database]` will
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [84/80]
Open

  # unconfirmed_email column, and copied to email column on successful confirmation.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [154/80]
Open

  # config.secret_key = '4e789158e78971272578915e94ac402b8856475095bef772786c8020c098d8f58a18e58dfd616dabdc7010635a2d6c80626136145a02c9d258afba62f314c70c'
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [83/80]
Open

  # session. If you need permissions, you should implement that in a before filter.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [84/80]
Open

  # :database      = Support basic authentication with authentication key + password
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [81/80]
Open

  # It can be set to an array that will enable params authentication only for the
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [82/80]
Open

  # a value less than 10 in other environments. Note that, for bcrypt (the default
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [89/80]
Open

  # The same considerations mentioned for authentication_keys also apply to request_keys.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [81/80]
Open

  # :clearance_sha1, :authlogic_sha512 (then you should set stretches above to 20
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [150/80]
Open

  # config.pepper = 'd7335cf05a88f8bdf671de1cb78906587cee4bd8a5c47bfac11edc0c0214f80d977d762a6ea9a1d20251814bfcafae7bef033f5c769152a4c50954cf2badb187'
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [83/80]
Open

  # :time  = Re-enables login after a certain amount of time (see :unlock_in below)
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Incorrect indentation detected (column 2 instead of 3).
Open

  # are using only default views.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

This cops checks the indentation of comments.

Example:

# bad
  # comment here
def method_name
end

  # comment here
a = 'hello'

# yet another comment
  if true
    true
  end

# good
# comment here
def method_name
end

# comment here
a = 'hello'

# yet another comment
if true
  true
end

Line is too long. [85/80]
Open

  # given strategies, for example, `config.params_authenticatable = [:database]` will
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [86/80]
Open

  # initial account confirmation) to be applied. Requires additional unconfirmed_email
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [86/80]
Open

  # Allow you to use another hashing or encryption algorithm besides bcrypt (default).
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [82/80]
Open

  # Limiting the stretches to just one in testing will increase the performance of
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [83/80]
Open

  # a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation).
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [85/80]
Open

  config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [88/80]
Open

  # if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [84/80]
Open

  # When set to false, does not sign a user in automatically after their password is
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [81/80]
Open

  # When using Devise inside an engine, let's call it `MyEngine`, and this engine
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [85/80]
Open

  # find_for_authentication method and considered in your model lookup. For instance,
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [83/80]
Open

  # algorithm), the cost increases exponentially with the number of stretches (e.g.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [85/80]
Open

  # :failed_attempts = Locks an account after a number of failed attempts to sign in.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [86/80]
Open

  # using other algorithms, it sets how many times you want the password to be hashed.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

Line is too long. [82/80]
Open

  # change the failure app, you can configure them inside the config.warden block.
Severity: Minor
Found in config/initializers/devise.rb by rubocop

There are no issues that match your filters.

Category
Status