lithium\security\auth\adapter\Form::$_query
If you require custom model logic in your authentication query, use this setting to specify
which model method to call, and this method will receive the authentication query. In return,
the Form
adapter expects a Record
object which implements the data()
method. See the
constructor for more information on setting this property. Defaults to 'first'
, which
calls, for example, Users::first()
.
Source
protected $_query = 'first';