use
\Auth::attempt
try adding the \ before Auth..
or on the top above the class definition you can try adding
use \Auth; //or something like this
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community