Sha256: 4e49641367d3cc890198334b157edfa58bf1bb0a5ff9b43510e4ea009cf9ee1b

Contents?: true

Size: 295 Bytes

Versions: 3

Compression:

Stored size: 295 Bytes

Contents

class Users::SessionsController < Janus::SessionsController
  respond_to :html

  def after_sign_in_url(user)
    user_url
  end

  def valid_host?(host)
    super && host != "invalid.test.host"
  end

  def valid_remote_host?(host)
    ['www.example.com', 'test.host'].include?(host)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
janus-0.10.1 test/rails_app/app/controllers/users/sessions_controller.rb
janus-0.10.0 test/rails_app/app/controllers/users/sessions_controller.rb
janus-0.9.1 test/rails_app/app/controllers/users/sessions_controller.rb