Sha256: e01ffe1a9f73582cf9ab698bdba36b6986ac7c7f4a53da66af7d3ba47358b674

Contents?: true

Size: 257 Bytes

Versions: 39

Compression:

Stored size: 257 Bytes

Contents

module Sessions::ControllerBase
  extend ActiveSupport::Concern

  def pre_otp
    if (@email = params["user"]["email"].downcase.strip.presence)
      @user = User.find_by(email: @email)
    end

    respond_to do |format|
      format.js
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
bullet_train-1.2.7 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.6 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.5 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.4 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.3 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.2 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.1 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.0 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.10 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.9 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.7 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.6 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.5 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.4 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.3 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.2 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.1 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.1.0 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.0.99 app/controllers/concerns/sessions/controller_base.rb