mentors

mentors Commit Details


Date:2014-06-30 00:23:09 (10 years 5 months ago)
Author:Right Or Wrong
Branch:develop
Commit:01842797e1a7039b613c108074ad550e97a6f5c3
Parents: 449266787cf1def7189c4a25f79e5ff4d0623e33
Message:warning of wrong passsword and email combination

Changes:

File differences

app/controllers/SessionController.php
2424
2525
2626
27
27
28
29
2830
2931
3032
......
4446
4547
4648
49
4750
4851
4952
......
5659
5760
5861
62
5963
6064
6165
$remember = \Input::get('remember');
if ($validator->fails()) {
if ($validator->fails())
{
return Redirect::to('login')
->withErrors($validator)
->withInput(Input::except('password'));
} else {
Session::flash('message', 'You entered the wrong email or password. Try again!');
return \Redirect::to('login');
}
} else {
Session::flash('message', 'You entered the wrong email or password. Try again!');
return \Redirect::to('login');
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05202s using 13 queries.