can you alter your question to remove the solution and add the solution as a comment so we can mark it as solved ?
class AuthController extends Controller
{
/*
|--------------------------------------------------------------------------
| Registration & Login Controller
|--------------------------------------------------------------------------
|
| This controller handles the registration of new users, as well as the
| authentication of existing users. By default, this controller uses
| a simple trait to add these behaviors. Why don't you explore it?
|
*/
use AuthenticatesAndRegistersUsers, ThrottlesLogins;
/**
* Where to redirect users after login / registration.
*
* @var string
*/
protected $redirectTo = '/home';
protected $username = 'username'; // you can put whatever column you want here from your users/auth table
I thought I would share this with others just in case they had the same question.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community