Make sure $user is an object before re-checking password (fixes issue #2490)
Make sure $user is an object before re-checking password (fixes issue #2490)

azaghal/thebuggenie,SamMousa/thebuggenie,thebuggenie/thebuggenie,Rvanlaak/thebuggenie,stolenbike/thebuggenie,praveenscience/thebuggenie,SamMousa/thebuggenie,milkyway-git/thebuggenie,nrensen/thebuggenie,deshion/thebuggenie,SysBind/thebuggenie,thebuggenie/thebuggenie,Rvanlaak/thebuggenie,hurie/thebuggenie,milkyway-git/thebuggenie,gabor-udvari/thebuggenie,SysBind/thebuggenie,gabor-udvari/thebuggenie,deshion/thebuggenie,SysBind/thebuggenie,dachaac/thebuggenie,thebuggenie/thebuggenie,nrensen/thebuggenie,SamMousa/thebuggenie,LogosLabs/thebuggenie,milkyway-git/thebuggenie,JonathanRH/thebuggenie,gabor-udvari/thebuggenie,JonathanRH/thebuggenie,gabor-udvari/thebuggenie,milkyway-git/thebuggenie,azaghal/thebuggenie,stolenbike/thebuggenie,nrensen/thebuggenie,hurie/thebuggenie,Rvanlaak/thebuggenie,hurie/thebuggenie,praveenscience/thebuggenie,deshion/thebuggenie,azaghal/thebuggenie,Rvanlaak/thebuggenie,praveenscience/thebuggenie,JonathanRH/thebuggenie,SamMousa/thebuggenie,praveenscience/thebuggenie,hurie/thebuggenie,thebuggenie/thebuggenie,deshion/thebuggenie,LogosLabs/thebuggenie,dachaac/thebuggenie,dachaac/thebuggenie,stolenbike/thebuggenie,LogosLabs/thebuggenie,nrensen/thebuggenie,JonathanRH/thebuggenie,LogosLabs/thebuggenie,thebuggenie/thebuggenie,dachaac/thebuggenie,stolenbike/thebuggenie,azaghal/thebuggenie,SysBind/thebuggenie