I am storing my Password as BCrypt (Laravel own way)
$NewValue = Hash::make(Input::get('Password'));
$OldValue = Auth::user()->password; // Taking the value from database
if($NewValue == $OldValue)
{
return 'Both Password are equal'
}
else
{
//go for other operation
}
But whenever i check the if condition, I am always getting false.
What is the mistake i am doing ?