laravel set password code example
Example 1: laravel hash password check
$data = User::find($id);
if( ! Hash::check( $data->password , Input::get('currPassword') ) )
{
return Redirect::to('/admin/profile')
->with('message', 'Current Password Error !')
->withInput();
}
Example 2: laravel hash namespace
use Illuminate\Support\Facades\Hash;