First, you'll need to find the User who is logging in based on email address or username or however you identify them, for example:
$user = User::where('email', '=', '[email protected]')->first();
Then, you'll need to CHECK the hashed password, like so:
Hash::check('INPUT PASSWORD', $user->password);
This will return true or false based on whether or not the password matches.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…