In Laravel 4, I have the following condition to make sure the user has correctly inserted their current password, and if so, do something.
Here is the code:
if(Auth::user()->password==Hash::make(Input::get('old_password')) ) { echo 'done'; }
But this does not meet the condition. Why?
user3077503
source share