Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function signin(LoginFormValidation $request)
- {
- $user_password = $request->password;
- $data = User::where('email','=',$request->email);
- if (Hash::check($user_password, $data->password, flase))
- {
- echo "success";
- }
- else
- {
- echo "still not";
- }
- }
- $data = User::where('email','=',$request->email);
- $data = User::where('email','=',$request->email)->first();
Add Comment
Please, Sign In to add comment