Sha256: d980b08b20520020ecf185004d15572741baad01d473d387a771c4a1e27d044b

Contents?: true

Size: 424 Bytes

Versions: 40

Compression:

Stored size: 424 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

40 entries across 40 versions & 1 rubygems

Version Path
push_type_auth-0.9.5 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.3 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.0.beta.4 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.0.beta.3 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.9.0.beta.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.0.beta.3 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.0.beta.2 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.8.0.beta.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.7.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.7.0.beta.1 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.6.0 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.6.0.beta.4 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.6.0.beta.3 app/models/concerns/push_type/authenticatable.rb
push_type_auth-0.6.0.beta.2 app/models/concerns/push_type/authenticatable.rb