Sha256: ab35f3c2f9f27c04e3f8c4f9a8e5f3f8bc7bdfd79ca0194ba6a6af666507a01b

Contents?: true

Size: 146 Bytes

Versions: 4

Compression:

Stored size: 146 Bytes

Contents

class User < ActiveRecord::Base
  devise :cas_authenticatable, :rememberable

  def active_for_authentication?
    super && !deactivated
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise_cas_authenticatable-1.2.1 spec/scenario/app/models/user.rb
devise_cas_authenticatable-1.2.0 spec/scenario/app/models/user.rb
devise_cas_authenticatable-1.1.4 spec/scenario/app/models/user.rb
devise_cas_authenticatable-1.1.3 spec/scenario/app/models/user.rb