Sha256: 563c6071ed262de6c604e769cc01231ca3ef26a30122185657bb1874baa81baf

Contents?: true

Size: 136 Bytes

Versions: 22

Compression:

Stored size: 136 Bytes

Contents

class User < ActiveRecord::Base
  def self.authenticate!(name, password)
    User.where(name: name, password: password).first
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
doorkeeper-5.0.3 spec/dummy/app/models/user.rb
doorkeeper-5.1.0.rc2 spec/dummy/app/models/user.rb
doorkeeper-5.1.0.rc1 spec/dummy/app/models/user.rb
doorkeeper-5.0.2 spec/dummy/app/models/user.rb
doorkeeper-5.0.1 spec/dummy/app/models/user.rb
doorkeeper-4.4.3 spec/dummy/app/models/user.rb
doorkeeper-5.0.0 spec/dummy/app/models/user.rb
doorkeeper-4.4.2 spec/dummy/app/models/user.rb
doorkeeper-4.4.1 spec/dummy/app/models/user.rb
doorkeeper-5.0.0.rc2 spec/dummy/app/models/user.rb
doorkeeper-4.4.0 spec/dummy/app/models/user.rb
doorkeeper-5.0.0.rc1 spec/dummy/app/models/user.rb
doorkeeper-4.3.2 spec/dummy/app/models/user.rb
doorkeeper-4.3.1 spec/dummy/app/models/user.rb
doorkeeper-4.3.0 spec/dummy/app/models/user.rb
doorkeeper-4.2.6 spec/dummy/app/models/user.rb
doorkeeper-4.2.5 spec/dummy/app/models/user.rb
doorkeeper-4.2.0 spec/dummy/app/models/user.rb
doorkeeper-4.1.0 spec/dummy/app/models/user.rb
doorkeeper-4.0.0 spec/dummy/app/models/user.rb