Sha256: 1b547ada3a86975be41a6986bc69f8481e5a10b9f32ec1f060b9b5276153c9f0

Contents?: true

Size: 422 Bytes

Versions: 14

Compression:

Stored size: 422 Bytes

Contents

module PushType
  module Authenticatable
    extend ActiveSupport::Concern

    included do
      # Include default devise modules. Others available are:
      # :lockable, :timeoutable and :omniauthable
      devise :database_authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable

      protected

      def password_required?
        persisted? ? super : false
      end
    end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
push_type_auth-0.12.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.12.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.12.0.beta.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.11.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.11.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.11.0.beta.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.11.0.beta.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.4 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.3 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.0.beta.5 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.10.0.beta.3 app/models/concerns/push_type/authenticatable.rb