Sha256: 52d4762c56f2c644d6f8f35bc9ce5c36e11228f98184f23d9601b9fa86a49dce
Contents?: true
Size: 516 Bytes
Versions: 14
Compression:
Stored size: 516 Bytes
Contents
module SharedAdmin extend ActiveSupport::Concern included do devise :database_authenticatable, :encryptable, :registerable, :timeoutable, :recoverable, :lockable, :confirmable, :unlock_strategy => :time, :lock_strategy => :none, :allow_unconfirmed_access_for => 2.weeks, :reconfirmable => true validates_length_of :reset_password_token, :minimum => 3, :allow_blank => true validates_uniqueness_of :email, :allow_blank => true, :if => :email_changed? end end
Version data entries
14 entries across 14 versions & 3 rubygems