Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel hash password sample

$data = User::find($id);
if( ! Hash::check( Input::get('currPassword') , $data->password ) )
{
    return Redirect::to('/admin/profile')
        ->with('message', 'Current Password Error !')
        ->withInput();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #hash #password #sample
ADD COMMENT
Topic
Name
9+6 =