December 2016
Beginner
189 pages
3h 5m
English
© Sanjib Sinha 2017
Sanjib Sinha, Beginning Laravel, 10.1007/978-1-4842-2538-7_17
Sanjib Sinha1
(1)Howrah, West Bengal, India
Laravel implements authentication in such a simple way that you have everything just out of the box. To do that, Laravel returns an array in ‘app/config/auth.php’ where these things are defined and it also well documented. In this file it is clear that the driver will be Eloquent, the model will be User, and the table is ‘users’. There is another table: ‘password_reminder ’. We will discuss it later. So by default it has been defined; now all you have to do is use the static methods Laravel ships with. To make your password stronger, Laravel has ‘Hash’ class that provides secure ...
Read now
Unlock full access