Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $auth = Auth::attempt(array(
- 'username' => Input::get('username'),
- 'password' => Input::get('password')
- ));
- if($auth)
- {
- return Redirect::intended('admincp-login-show');
- }
- else
- {
- return Redirect::route('admincp-login-show')
- ->with('global','Email/Password incorrect or account not addctivated.' .Input::get('password').Input::get('username'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement