What do you expect the fldUserLoginID field to contain?
An example users table migration would contain:
$table->increments('id');
$table->string('username')->unique();
$table->string('email')->unique();
$table->string('password', 60);
$table->rememberToken();
$table->timestamps();
Than you'd try to log in
Auth::attempt([
'username' => Input::get('username'),
'password' => Input::get('password')
]);
Maybe set it as a variable and than use if/else statement for success/failiure
Try removing the dd function, this halts the whole application preventing session to persists
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community