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.27 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.26 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.25 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.24 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.23 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.22 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.21 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.20 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.19 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.18 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.17 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.16 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.15 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.14 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.13 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.12 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.11 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.10 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.9 app/controllers/concerns/sessions/controller_base.rb
bullet_train-1.2.8 app/controllers/concerns/sessions/controller_base.rb