Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. $auth = Auth::attempt(array(
  2. 'username' => Input::get('username'),
  3. 'password' => Input::get('password')
  4. ));
  5. if($auth)
  6. {
  7. return Redirect::intended('admincp-login-show');
  8. }
  9. else
  10. {
  11. return Redirect::route('admincp-login-show')
  12. ->with('global','Email/Password incorrect or account not addctivated.' .Input::get('password').Input::get('username'));
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement