Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function login()
- {
- if(Input::has('login_email') AND Input::has('login_password')){
- if (Auth::attempt(array('email'=>Input::get('email'), 'password'=>Input::get('password')))) {
- echo 'Success';
- }else{
- echo 'Failed';
- }
- }else{
- return View::make('auth.login');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement