📜  laravel 创建密码哈希 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:43.196000             🧑  作者: Mango

代码示例5
$data = User::find($id);
if( ! Hash::check( Input::get('currPassword') , $data->password ) )
{
    return Redirect::to('/admin/profile')
        ->with('message', 'Current Password Error !')
        ->withInput();
}