Hi,
I am not very sure if I am understanding you correctly, but I think the problem has to do with what you named your username column => "usr_username". I believe that the authentication class it uses looks for columns called username and/or email.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
So I started a new Project, and wanted to try out Laravel because everybody I know says that it's awesome! And I used my Playground to start something simple to get to know laravel better.
Now I've started my "real" Project, and I have problems with the Autentication. I'm a little bit of a perfectionist, so I first created my Databasestructure. I always add 3 letters of the tablename to every columnname as prefix, so that I have unique tablenames, and don't get problems when joining multiple tables :)
Register is working pretty fine, no problem there. After my Registration, I get logged in automatically, but when I logout and try to login The Error "These credentials do not match our records." occurs. So I tried to figure out, where the problem could be, but I didn't get any solution yet.
I hope someone here can help me out :)
My usertable structure is:
Schema::create('user', function (Blueprint $table) {
$table->increments('usr_id')->unsigned();
$table->string('usr_username');
$table->string('usr_firstname');
$table->string('usr_lastname');
$table->string('usr_password', 60);
$table->rememberToken();
$table->timestamps();
});
IF you need any further information, or you have any questions, Just ask :) Thank you! Greets, Alex
Please or to participate in this conversation.