I changed some fields in users database table. table name: users primaryKey: user_id username: user_username password: user_password e-mail: user_mail
I updated login.blade.php to this:
<form method="POST" action="/auth/login">
{!! csrf_field() !!}
<div>
Username
<input type="user_username" name="user_username" value="{{ old('user_username') }}">
</div>
<div>
Password
<input type="password" name="password" id="password">
</div>
<div>
<input type="checkbox" name="remember"> Remember Me
</div>
<div>
<button type="submit">Login</button>
</div>
in Illuminate\Foundation\AuthAuthenticatesUsers I added protected $username = 'user_username';
When i try login to my account when i handed username and password i see blank page. Debug is on but not working. What happend?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1ICpR3I
via IFTTT
Aucun commentaire:
Enregistrer un commentaire