Authentication on laravel libraries can indeed be called a poweful. With easy implementation we are presented with the availability of complete auth configuration. The authentication configuration file is located at app/config/auth.php, which contains several well documented options for tweaking the behavior of the authentication facilities.

With this literature, we can make a variety of implementations. such as storing passwords, authenticating users, protecting the routes, up reminders and reset passwords.

But in the documentation laravel there a way to change the password for the user or admin. therefore, in this tutorial I will give an example of how to change the password on laravel 4 using the auth library.

 

create a route to the change password page

 

on the controller class for a function to display the change password page then pass it to view page

 

 

update the class controller to handle post action from view

 

This article has 2 comments

Leave a Comment

Your email address will not be published. Required fields are marked *