Support the ongoing development of Laravel.io →
Authentication
Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

Try removing the dd function, this halts the whole application preventing session to persists

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mharrisweb mharrisweb Joined 23 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.