Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $id = Auth::User()->password;
- $password = Input::get('current_password');
- $hash = Hash::make($password);
- if (Hash::check($id, $hash))
- {
- return 'success';
- }
- return 'failed';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement