1$data = User::find($id);
2if( ! Hash::check( $data->password , Input::get('currPassword') ) )
3{
4 return Redirect::to('/admin/profile')
5 ->with('message', 'Current Password Error !')
6 ->withInput();
7}
8
1$password = Input::get('passwordformfield'); // password is form field
2$hashed = Hash::make($password);
3