I'm trying to implement authentication for my application using pre-built authentication provide by Laravel . Used command
php artisan make:auth
The proplem is when i'm trying to login, i get "These credentials do not match our records." but the register work fine .
Note
The user table DDL create syntax .
CREATE TABLE users (
ID int(11) NOT NULL AUTO_INCREMENT,
NAME VARCHAR(40) NOT NULL,
PASSWORD CHAR(60) NOT NULL,
EMAIL VARCHAR(255) NOT NULL,
REMEMBER_TOKEN VARCHAR(255) NULL,
PRIMARY KEY ('ID')
);
答案 0 :(得分:0)
引用Ravi Hirani评论提供的答案
用小写字母写DB列名。 - Ravi Hirani