📅  最后修改于: 2022-03-11 14:55:08.242000             🧑  作者: Mango
$data = User::find($id);
if( ! Hash::check( Input::get('currPassword') , $data->password ) )
{
return Redirect::to('/admin/profile')
->with('message', 'Current Password Error !')
->withInput();
}