Project

General

Profile

« Previous | Next » 

Revision 7c019498

Added by Shlomi Zadok over 8 years ago

Fixes #11401 - Add scoped search to auth_source on name

View differences:

app/models/auth_source.rb
scope :non_internal, -> { where("type NOT IN (?)", ['AuthSourceInternal', 'AuthSourceHidden']) }
scope :except_hidden, -> { where('type <> ?', 'AuthSourceHidden') }
scoped_search :on => :name, :complete_value => :true
def authenticate(login, password)
end

Also available in: Unified diff